You can use following commands to extract public/private key from a PKCS#12 container:
- Private key:
openssl pkcs12 -in
yourP12File.pfx-nocerts -out
privateKey.pem - Certificates:
openssl pkcs12 -in
yourP12File.pfx-clcerts -nokeys -out
publicCert.pem - openssl pkcs12 -in Sample.pfx -out Sample.pem -nodes
No comments:
Post a Comment