When moving certificates from Windows servers to Linux you may need to export the private key and certificate from a pfx file. This is how it’s done:
1. Export the private key
openssl pkcs12 -in cert.pfx -nocerts -out cert.key.wpass
Replace cert.pfx with the certificate exported from Windows. The private key will be exported to cert.key.wpass including a password that you need to selecting in this step Continue reading