Convert certificate from PEM to PKCS#12

Convert certificate in PKCS#12 container format (private key included) to PEM format (base64)

Authored by: Petr Stepan (Deworn)
Brought to you by Warp, a free terminal reimagined to work like a modern app.
in_pem_cert
in_pem_private_key
in_pem_cacert
out_pkcs12_cert

Command
Copy
openssl pkcs12 -export -out out_cert.pfx -in in_cert.pem -inkey in_private.key -certfile cacert.pem
Tags