Sep 22

I manage a lot of websites and I tend to lose track of when their various SSL certs expire. Here is a quick onliner that I use to connect to each site and grab the expiration date off its cert.

echo “” | openssl s_client -connect www.cyborgworkshop.org:443 2>/dev/null | sed -ne ‘/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p’ |openssl x509 -text|grep ” After : ”

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.