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)
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