Xymon Mailing List Archive search

SSL Certs on servers with multiple virtualhosts

list Galen Johnson
Tue, 6 Aug 2013 19:45:07 +0000
Message-Id: <user-827475467ff2@xymon.invalid>

Would something like this not work:

group HTTP
0.0.0.0 host1.example.com # https://host1.example.com
0.0.0.0 host2.example.com # https://host2.example.com
...

=G=

From: Xymon [xymon-bounces at xymon.com] on behalf of Ralph Mitchell [user-00a5e44c48c0@xymon.invalid]
Sent: Tuesday, August 06, 2013 3:38 PM
To: John D. Alexander
Cc: xymon at xymon.com
Subject: Re: [Xymon] SSL Certs on servers with multiple virtualhosts

I have a script that fakes the xymonnet http & sslcert columns.  I'll post it to the list this evening when I get home from work.

Ralph Mitchell


On Tue, Aug 6, 2013 at 2:32 PM, John D. Alexander <user-9a0964743c57@xymon.invalid<mailto:user-9a0964743c57@xymon.invalid>> wrote:

I’m running Xymon 4.3.12 on CentOS 6.4 and monitoring a number of Apache web servers that each have multiple SSL VirtualHosts.

Xymon appears to be using the openssl s_client utility to check server certificates and since s_client is not SNI compliant, it only picks up the certificate of the first VirtualHost.  All other VirtualHosts are reported having the same certificate.

Does anyone know of a workaround (perhaps using curl) to validate SSL certificates and track expiration dates of those certificates?

Thanks much.

John Alexander
Network Administrator