Skip to content

Instantly share code, notes, and snippets.

@Dviejopomata
Last active September 19, 2018 15:41
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 Dviejopomata/5585629d8f6c91208057cc14087d41c1 to your computer and use it in GitHub Desktop.
Save Dviejopomata/5585629d8f6c91208057cc14087d41c1 to your computer and use it in GitHub Desktop.
Openssl common certificates

Der to pem

openssl x509 -inform der -in file.cer -out file.pem

Pem to der

openssl x509 -in file.pem -out file.cer -outform der

Inspect der

openssl x509 -in file.der -inform der -noout -text

Inspect pem

openssl x509 -in file.pem -noout -text
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment