ssl-cert-check icon indicating copy to clipboard operation
ssl-cert-check copied to clipboard

Jan 17 commit breaks Nagios mode

Open sodabrew opened this issue 5 years ago • 3 comments

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

sodabrew avatar Jan 30 '20 07:01 sodabrew

Can you try out 4.13? One of the changes I received introduced a subtle bug. Should be fixed now.

Matty9191 avatar Jan 31 '20 18:01 Matty9191

Which version were you using "Before"?

./ssl-cert-check/ssl-cert-check -V

lewart03 avatar Feb 27 '20 21:02 lewart03

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.

Matty9191 avatar Feb 29 '20 16:02 Matty9191