Re:Over a month later and Comcast still doesn't know how to SSL
by Dobbs on Sunday October 28, 2012 @12:00AM
(#4708111)
The standard https check has it built-in with the right flags. Use -h or --help to figure it out. (They provide different output)
[ Parent
| on HN ]
Re:Over a month later and Comcast still doesn't know how to SSL
by chriscareycode on Sunday October 28, 2012 @12:29AM
(#4708154)
That would be
/usr/lib/nagios/plugins/check_http --ssl -C 30 -H contracts.comcast.com
CRITICAL - Certificate expired on 05/08/2012 23:59.
Re:Over a month later and Comcast still doesn't know how to SSL
by eric_bullington on Sunday October 28, 2012 @03:38AM
(#4708389)
You can also use openssl's built-in utility* to see that the certificate has expired:
openssl s_client -showcerts -connect contracts.comcast.com:443
*You may also need to specify the path to your certificates using something like: -CApath /etc/ssl/certs/To get the exact expiration date, it appears you have to do:
1) download cert:
openssl s_client -connect hostname:port > cert.pem
2) verify date: openssl x509 -in cert.pem -noout -enddat