How to convert a PKCS#12 file (.pfx .p12) containing a private key and certificates to PEM using open SSL command? Posted on February 9, 2018 by Viet Luu openssl pkcs12 -in keyStore.pfx -out keyStore.pem -nodes Tweet