banner
 

Path: content/Tips/openssl/default.md

openssl

To reveal the validity of a certificate

openssl x509 -in mycert.pem -text

You may need to use, eg base64 -d > mycert.pem if the cert is base64 encoded.

Similarly, if it is in DER format, use:

openssl x509 -in mycert.der -inform der -text

Last updated : 14 November 2024