Error incheck_http when checking cert expiration
Posted: Wed Aug 02, 2017 2:52 am
Hi
I am in the process of upgrading our nagios servers from debian7 to debian9, and have run into a problem with check_http.
In the old version (2.1.4) the command "check_http -H hostname -S -C 20 --sni" gives a correct answer, but the new version (2.2.1) gives a wrong answer because the server responds with a 403 HTTP response. That is it always returns 1 no matter the expiry of the cert.
Is this a known problem, and is there a workaround ?
Best regards
Allan
I am in the process of upgrading our nagios servers from debian7 to debian9, and have run into a problem with check_http.
In the old version (2.1.4) the command "check_http -H hostname -S -C 20 --sni" gives a correct answer, but the new version (2.2.1) gives a wrong answer because the server responds with a 403 HTTP response. That is it always returns 1 no matter the expiry of the cert.
Is this a known problem, and is there a workaround ?
Best regards
Allan