/usr/lib/nagios/plugins/check_http --ssl -C 30 -H contracts.comcast.com
CRITICAL - Certificate expired on 05/08/2012 23:59.
openssl s_client -showcerts -connect contracts.comcast.com:443
To get the exact expiration date, it appears you have to do:
1) download cert:
openssl s_client -connect hostname:port > cert.pem
openssl x509 -in cert.pem -noout -enddat
To get the exact expiration date, it appears you have to do:
1) download cert:
2) verify date: