Show the expiry date and subject of a certificate file
check certificate file expiration | crt file expiry date openssl | which domain is this certificate for | show pem certificate details | openssl | certificate | expiry | pemopenssl x509 -in /etc/letsencrypt/live/example.com/cert.pem -noout -subject -issuer -enddateReads a certificate file in PEM format and prints the subject, issuer and notAfter. Useful to see quickly which certificate is meant for what and for how long, before installing it or when sorting through a collection of files. Use -text instead of the individual options to see all details.
Note: Root is only needed if the file is protected, as under /etc/letsencrypt/. For DER files, add -inform der.
Also searched as
- check certificate file expiration
- crt file expiry date openssl
- which domain is this certificate for
- show pem certificate details