ssl-cert-check
ssl-cert-check copied to clipboard
Jan 17 commit breaks Nagios mode
Commit 1fa78ae374ff9454aa5dc2dedfb33e86edb589ae breaks Nagios mode.
Given a domain list with expired.badssl.com
in it,
Before:
./ssl-cert-check/ssl-cert-check -f domains.txt -N -x 60 ; echo $?
1 certificate(s) expired (expired.badssl.com:443 on Apr 12 2015)|days=-1753
2
After:
./ssl-cert-check/ssl-cert-check -f domains.txt -N -x 60 ; echo $?
0 valid certificate(s)|days=0
0
Can you try out 4.13? One of the changes I received introduced a subtle bug. Should be fixed now.
Which version were you using "Before"?
./ssl-cert-check/ssl-cert-check -V
I am unable to reproduce this. If I run it against a couple of domains it works as expected:
$ ./ssl -x 90 -N -f bad 1 certificate(s) will expire (prefetch.net:443 on Apr 13 2020)|days=44
$ echo $? 3
Can you provide the certificate file list you are using? That will help me debug this further.