OpenSSL 3 · Inspecting TLS servers

Check a site's certificate expiry

Print the dates of the certificate a server presents.

openssl s_client -connect example.com:443 -servername example.com </dev/null 2>/dev/null | openssl x509 -noout -dates

Official OpenSSL 3 documentation

More inspecting tls servers commands

All inspecting tls servers commands · OpenSSL 3 cheatsheet

Was this page helpful?