Created
June 8, 2018 14:27
-
-
Save konjoot/d6b8003b5a5c87794416f4f20473789d to your computer and use it in GitHub Desktop.
openssl export certs from pfx bundle
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
# Export client certificate | |
openssl pkcs12 -in bundle.pfx -clcerts -nokeys -out client.pem | |
# Export client key | |
openssl pkcs12 -in bundle.pfx -nocerts -out client.key -nodes | |
# Export CA certs chain | |
openssl pkcs12 -in bundle.pfx -cacerts -nokeys -out ca.pem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment