Matty9191 / ssl-cert-check

Send notifications when SSL certificates are about to expire.
GNU General Public License v2.0
721 stars 286 forks source link

SSL handshake failed Unknown after upgrade from 3.28 -> 4.10 #55

Open zopyx opened 5 years ago

zopyx commented 5 years ago

I upgraded my script from 3.2.8 -> 4.1.0 (MacOS)

Now I see these two errors that did not occur with the older version of the script


Host                                Issuer            Status   Expires     Days
----------------------------------- ----------------- -------- ----------- ----
ERROR: The file named /var/tmp/cert.TN7orW is unreadable or doesn't exist
ERROR: Please check to make sure the certificate for :www.zchl.uni-sb.de 443 is valid
admin.zchl.uni-sb.de:443                              SSL handshake failed Unknown
henricook commented 5 years ago

Going just one commit back from master at time of writing fixed the issue for me ('reverted' the issue for me)

git checkout 89cd02125ceb532de1627fe6413dcebe2f78e0fb

Matty9191 commented 4 years ago

Can you try the latest version (4.12)? I incorporated a ton of fixes from Daniel Lewart. This should address this issue.