Converting pfx to pem using openssl
问题 How to generate a .pem CA certificate and client certificate from a PFX file using OpenSSL. 回答1: You can use the OpenSSL Command line tool. The following commands should do the trick openssl pkcs12 -in client_ssl.pfx -out client_ssl.pem -clcerts openssl pkcs12 -in client_ssl.pfx -out root.pem -cacerts If you want your file to be password protected etc, then there are additional options. You can read the entire documentation here. 回答2: Another perspective for doing it on Linux... here is how