SSL Certificate : Extract .key and .crt from .pfx: Difference between revisions
From KlavoWiki
Jump to navigationJump to search
(Created page with "<pre> openssl pkcs12 -in [yourfilename.pfx] -nocerts -out [keyfilename-encrypted.key] openssl rsa -in [keyfilename-encrypted.key] -out [keyfilename-decrypted.key] openssl pkcs12 -in [yourfilename.pfx] -clcerts -nokeys -out [certificatename.crt] </pre> Category : Debian") |
(No difference)
|
Revision as of 22:19, 14 January 2024
openssl pkcs12 -in [yourfilename.pfx] -nocerts -out [keyfilename-encrypted.key] openssl rsa -in [keyfilename-encrypted.key] -out [keyfilename-decrypted.key] openssl pkcs12 -in [yourfilename.pfx] -clcerts -nokeys -out [certificatename.crt]