check_http see certificate as near to expiring, not true.
Posted: Thu Jun 13, 2019 8:06 am
I'm checking a website certificate (obviously, not really example.com) using
Actually it prints
Navigating with a browser, the certificate results ok, expirying in a year. I installed it some hours ago and my Chrome is seeing it correctly.
Code: Select all
mirko@nagios:/usr/local/nagios$ ./libexec/check_http -H www.example.com -C 14 --sni -vCode: Select all
SSL WARNING - Certificate 'www.example.com' expires in 6 day(s) (2019-06-20 14:00 +0200/CEST).