Last active
July 19, 2018 21:49
-
-
Save jerryjohnjacob/65baf91c4568af1494a565529f876835 to your computer and use it in GitHub Desktop.
Extracting keys from pkcs12
This file contains 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
openssl pkcs12 -in certificates/cert.p12 -out certificates/cert.pem -clcerts -nokeys | |
openssl pkcs12 -in certificates/cert.p12 -out certificates/key.pem -nocerts -nodes | |
openssl pkcs12 -in certificates/cert.p12 -out certificates/ca.cert -cacerts -nodes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment