Code

check_http: check for and print the certificate cn
authorThomas Guyot-Sionnest <dermoth@aei.ca>
Fri, 4 Feb 2011 05:54:52 +0000 (00:54 -0500)
committerThomas Guyot-Sionnest <dermoth@aei.ca>
Fri, 4 Feb 2011 05:54:52 +0000 (00:54 -0500)
commit4611e41bc50d15275b316c6f21b688997a9c78c4
tree1de69d9b99ef3986d5680fd9b8a581ce150dd93e
parent1a5a83bb82c35d888229fe9f815fbc663c0f4d3c
check_http: check for and print the certificate cn

This patch adds a check for the certificate cn (hostname) to normal
certificate checks. It returns CRITICAL if th cn is missing, otherwise it
prints it in the normal output.

Patch by StĂ©phane Urbanovski
NEWS
THANKS.in
plugins/sslutils.c
plugins/t/check_http.t
plugins/tests/check_http.t