The reason for this post is to define the tasks necessary to extract the private key and certificate from a .pfx file
Export the private key from the pfx file:
text
openssl pkcs12 -in redorbita.pfx -nocerts -out redorbita-key.pemExport the certificate from pfx file:
text
openssl pkcs12 -in redorbita.pfx -clcerts -nokeys -out redorbita-cert.pemDelete password of the private key
text
openssl rsa -in redorbita-key.pem -out redorbita-privatekey.keyAll the best.
Comments