Export the private key
openssl pkcs12 -in certificate.pfx -out certificate.key -nocerts -nodesTake out the encryption from the private key
openssl rsa -in certificate.key -out certificate_new.keyExport the SSL certificate
openssl pkcs12 -in certificate.pfx -out certificate.pem -nokeys -clcerts