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?
SSL certificate checks and SNI
SSL certificate checks and SNI
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
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
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.
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
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.
https://www.monitoring-plugins.org/doc/ ... _http.html--sni
Enable SSL/TLS hostname extension support (SNI)
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!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: SSL certificate checks and SNI
Issue resolved. Thanks.
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
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
Hi,
Have a great weekend!
Excellent! We'll close this thread.Issue resolved. Thanks.
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!
Be sure to check out our Knowledgebase for helpful articles and solutions!