Do you know why the browser is prompting about the certificate when you access the URL through your browser? Does the certificate match or is it expired?
you may have to look through the source of the check_http plug-in and to see how it handles SSL certificate negotiation. On one hand it could blindly trust any certificate. On the other hand like a browser the plugin could consult some file for manually accepted & stored certificates or simply exit if the certificate doesn't is expired/doesn't match. Scott Lundgren ITS - Web Services UNC at Charlotte http://www.uncc.edu -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scott McCamish (Contractor) Sent: Tuesday, May 30, 2006 2:40 PM To: [email protected] Subject: [Nagios-users] check_http ssl certificate Hi all- A web server was recently upgraded, and my check_http --ssl service is now failing. The server is sending a certificate when accessing through a browser. How can I accept the certificate; either permanently through the nagios user cmd line, or through flags to check_http? 'check_http --ssl H xyzxyz -C 14' works fine to see the expiration... I did read a recent thread that suggested the servers http config be changed, but I don't have access/approval to change the server config. Thanks for reading! Nagios 1.2 (I'll be upgrading soon) $ ./check_http -H xyzxyz --ssl -f=follow -v GET / HTTP/1.0 User-Agent: check_http/1.89 (nagios-plugins 1.4.3) Host: xyzxyz No data received $ _______________________________________________ Nagios-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
