Friday, October 31, 2025

How to check for certificate expiration dates

Here's a great way to check certs on remote systems.  I like it because if the remote system forwards you elsewhere, it still looks at the cert on the original remote system that you identified.  In the example below, I pulled dates from www.geekstorm.net:

openssl s_client -connect www.geekstorm.net:443 -servername www.geekstorm.net 2>/dev/null | openssl x509 -noout -dates