Last active
September 23, 2015 06:05
-
-
Save drolfe/e19c8df3a8f6907f12ce to your computer and use it in GitHub Desktop.
openssl .pfx to .key .cer .crt
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
#Creating the certs from pfx | |
openssl pkcs12 -nocerts -in ssl.pfx -out ssl.key -nodes | |
openssl pkcs12 -nokeys -clcerts -in ssl.pfx -out ssl.cer -nodes | |
openssl pkcs12 -nokeys -cacerts -in ssl.pfx -out ssl.crt -nodes | |
#Checking the certs | |
openssl x509 -noout -modulus -in ssl.cer | openssl md5 | |
openssl rsa -noout -modulus -in ssl.key | openssl md5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment