Checking certificate expiry date

Command for checking certificate expiry date from the command-line:

$ echo | openssl s_client -connect example.com:443 | openssl x509 -noout -dates

Leave a Reply

Your email address will not be published. Required fields are marked *