OpenSSL 3 · Certificates

Show a certificate's dates

Print only the start and expiry dates.

openssl x509 -in cert.pem -noout -dates

Official OpenSSL 3 documentation

More certificates commands

All certificates commands · OpenSSL 3 cheatsheet

Was this page helpful?