Closed jazzl0ver closed 2 years ago
Good question, looking at the code there was an exemption for this specific case, but it looks like it's not handled later as per the comment, so I've removed the exemption, please git pull and try again and it should give you a critical result in that case.
Awesome! Works perfectly now!
# sudo -u nagios /usr/lib64/nagios/plugins/check_ssl_cert.pl -H localhost -P 4433 -d \*.domain.com -w 30 -c 1 -C .
CRITICAL: Certificate validation failed, returned 10 (certificate has expired)
Thank you very much!
Hi,
Why does the final cert verification passes while one of the chain certificates is expired?