Split private key from exported pfx file

Split private key from exported pfx file

During setup of some applications, you need specify a certificate and the private key separately. To get the key, you can use OpenSSLto split it out:

pkcs12 -in c:\temp\mmcsecuresite.p12 -out bla.key -nodes -nocerts

Now you have the key and only need to export the certificate without the private key to save it as a Certificate.