Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Shell function to convert .crt to .pem files. Useage: crt_to_pem <my_cert_without_ext>
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
You can’t perform that action at this time.