Created
September 13, 2018 08:47
-
-
Save khaledosman/d1ecfaf77f6e5f09a5a3ddeaec979fbe to your computer and use it in GitHub Desktop.
Converts *.key and *.crt files to pem format
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
#Convert private key to em format | |
openssl rsa -in domain.key -text > domain.pem | |
#Convert .crt file to .pem format | |
openssl x509 -in cert.crt -out cert.pem -outform PEM | |
openssl x509 -in ca.crt -out ca.pem -outform PEM |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment