Created
July 20, 2015 13:50
-
-
Save elvinio/d5c6aba6eae875a00da3 to your computer and use it in GitHub Desktop.
Convert certificate
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
# Convert .pfx, .p12 to .pem | |
openssl pkcs12 -in a.pfx -out a.pem -nodes | |
# Convert .p7b to .pem | |
openssl pkcs7 -inform der -in a.p7b -out a.pem | |
# Remove passphrase | |
openssl rsa -in a.pem -out b.pem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment