Skip to content

Instantly share code, notes, and snippets.

@abdennour
Created February 1, 2020 12:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abdennour/64e36b7992eba66d889b5d4bc5ee9837 to your computer and use it in GitHub Desktop.
Save abdennour/64e36b7992eba66d889b5d4bc5ee9837 to your computer and use it in GitHub Desktop.
Convert a DER file (.crt .cer .der) to PEM
# Convert a DER file (.crt .cer .der) to PEM
openssl x509 -inform der -in certificate.cer -out certificate.pem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment