SSL certificate checks and SNI

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
TBT
Posts: 625
Joined: Wed May 18, 2011 1:26 pm

SSL certificate checks and SNI

Post by TBT »

We are currently using 'check_xi_service_http_cert' to check for the expiry dates on certificates on our networks. Recently, we configured a system to use Server Name Indication (SNI).

In configuring SNI, we have discovered that the 'check_xi_service_http_cert' program is unable to validate the certificate and is generating warnings.

We would like to standardize on the command as much as possible going forward. Is there a Nagios certificate checking program available that can validate certificates on servers both using and not using SNI?
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: SSL certificate checks and SNI

Post by benjaminsmith »

Hi @TBT,

So the wizard or the check_xi_service_http_cert command in Nagios XI is using the check_http plugin to run those certificate checks. This plugin does have an optional argument for SNI.
--sni
Enable SSL/TLS hostname extension support (SNI)
https://www.monitoring-plugins.org/doc/ ... _http.html

Try testing the failing check directly from the command line but add the --sni argument this time.

Nagios XI - How To Test Check Commands From The Command-line

If that works, you can create a new check command in the CCM with that option.

--Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
TBT
Posts: 625
Joined: Wed May 18, 2011 1:26 pm

Re: SSL certificate checks and SNI

Post by TBT »

Issue resolved. Thanks.
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: SSL certificate checks and SNI

Post by benjaminsmith »

Hi,
Issue resolved. Thanks.
Excellent! We'll close this thread.

Have a great weekend!
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked