Openssl - PEM to PFX

Take .pem private key and .cert public key and export as combined .pfx:

openssl pkcs12 -inkey bob_key.pem -in bob_cert.cert -export -out bob_pfx.pfx

Sources:

  • https://stackoverflow.com/questions/808669/convert-a-cert-pem-certificate-to-a-pfx-certificate