Created
June 9, 2017 06:54
-
-
Save mperlet/b42c7649297ee95e52cfb43790422c1c to your computer and use it in GitHub Desktop.
Shell function to convert .crt to .pem files. Useage: crt_to_pem <my_cert_without_ext>
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
crt_to_pem = function() { | |
openssl x509 -in "$1.crt" -out "$1.pem" -outform PEM | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment