openssl pkcs12 -in <file>.pfx -out <file>.pem
Category: OpenSSL
Creating a PFX container
Windows systems seems to be unable to use certificates that are encrypted with 3des. Therefore the “-descert” option is used. openssl pkcs12 -export -des -descert -in <file>.pem -out <file>.pfx