check_http for certificate expiry, with apache vhosts
Posted: Wed Feb 08, 2017 10:17 am
Hi all,
This isn't a major one, but I imagine it's possibly due to the default virtual host on the webserver I'm checking.
I can run:
Ok, cool, that's fine. Now to check domain2 which is another SSL name based virtual host on the same box.
See my issue?
Cheers.
This isn't a major one, but I imagine it's possibly due to the default virtual host on the webserver I'm checking.
I can run:
Code: Select all
./check_http -4 --ssl -H www.domain1.co.uk -C 70
WARNING - Certificate '*.domain1.co.uk' expires in 60 day(s) (2017-04-10 09:30 +0100/BST).
Code: Select all
./check_http -4 -S -H www.domain2.co.uk -C 60,30 -t 30
WARNING - Certificate '*.domain1.co.uk' expires in 60 day(s) (2017-04-10 09:30 +0100/BST).
See my issue?
Cheers.