[Nagiosplug-help] Tomcat certificates
Peter Hall
peter.hall at adm.gu.se
Wed Aug 10 04:59:21 CEST 2005
I've been having some problems trying to get nagios to verify
certificates on two servers running tomcat. It works fine to check
certificates on other hosts running regular apache.
Running
# ./check_http -I hostname -p 12345 -S -C 14
simply answers "ERROR: Cannot retrieve server certificate."
But if I run
# openssl s_client -connect hostname:12345
I see the certificate just fine, connecting to the site in a browser
also shows the certificate.
Running a similar check_http command for a regular apache installation
with a SSL certificate works just fine.
I've played around with some options to check_http but can't get this to
work.
Running a wget on the host and port I noticed something interesting,
don't know if this is related or not:
Connecting to hostname[XXX.XXX.XXX.XXX]:12345... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://hostname:12345/index.jsp [following]
It then proceeds to download index.jsp.
Could this have anything to do with check_http not working?
What have I missed?
Thanks,
/Peter
More information about the Help
mailing list