Provided you have installed OpenSSL, execute the below commands.

Additionally, check out one of the 2 links for detail instructions:

Commands:

openssl pkcs12 -in [yourfile.pfx] -clcerts -nokeys -out [certificate.crt]

openssl rsa -in [keyfile-encrypted.key] -out [keyfile-decrypted.key]

Links:

https://www.itsupportmiami.com/how-to-convert-a-pfx-to-a-seperate-key-crt-file/

https://support.securecdn.stackpath.com/hc/en-us/articles/230841967-Converting-pfx-to-a-crt-key-files

Category: