Created
April 10, 2014 12:10
-
-
Save amolkhanorkar/10374851 to your computer and use it in GitHub Desktop.
Convert openssl .crt file to .pem
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
For converting .crt file to .pem | |
openssl x509 -in mycert.crt -out mycert.der -outform DER | |
You would then take the output of that, (i.e. mycert.der) and call: | |
openssl x509 -in mycert.der -inform DER -out mycert.pem -outform PEM | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment