xxxxxxxxxx
#Extract the private key from your .pfx file
openssl pkcs12 -in [yourfilename.pfx] -nocerts -out [keyfilename-encrypted.key]
#Extract .crt file from the .pfx certificate
openssl pkcs12 -in [yourfilename.pfx] -clcerts -nokeys -out [certificatename.crt]
#Extract the .key file from encrypted private key
openssl rsa -in [keyfilename-encrypted.key] -out [keyfilename-decrypted.key]