Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
kernow5000
Posts: 58 Joined: Mon Jan 09, 2017 9:06 am
Post
by kernow5000 » 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:
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).
Ok, cool, that's fine. Now to check domain2 which is another SSL name based virtual host on the same box.
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.
kernow5000
Posts: 58 Joined: Mon Jan 09, 2017 9:06 am
Post
by kernow5000 » Wed Feb 08, 2017 10:18 am
Just realised the command line arguments are actually different in that code block above. But either does the same thing.
kernow5000
Posts: 58 Joined: Mon Jan 09, 2017 9:06 am
Post
by kernow5000 » Wed Feb 08, 2017 10:28 am
External SSL scanners are able to identify the domain2.co.uk certificate fine.
rkennedy
Posts: 6579 Joined: Mon Oct 05, 2015 11:45 am
Post
by rkennedy » Wed Feb 08, 2017 10:59 am
Our day just started and finally getting to the bottom of the queue, just saw this. Glad to hear you got it working with --sni already!
Are we good to close this one up?
Former Nagios Employee
rkennedy
Posts: 6579 Joined: Mon Oct 05, 2015 11:45 am
Post
by rkennedy » Thu Feb 09, 2017 10:55 am
NP.
/closed
Former Nagios Employee