Last active
March 5, 2020 12:04
-
-
Save mtrunkat/e35d33beb6b7fb60316144c0e1b9fe14 to your computer and use it in GitHub Desktop.
Conversion pf p12 certificate to public and private pem key
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Get private key | |
openssl pkcs12 -in yourP12File.pfx -nocerts -out privateKey.pem | |
# Get public key | |
openssl pkcs12 -in yourP12File.pfx -clcerts -nokeys -out publicCert.pem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment