Website Wizard: Cannot make SSL connection.

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

Website Wizard: Cannot make SSL connection.

Post by TBT »

Using the Website Wizard to monitor a SSL Certificate, the check is returning: Critical CRITICAL - Cannot make SSL connection.

1. Manual check also fails
./check_http -H <server> -C 30,7 -p 443
CRITICAL - Cannot make SSL connection.

2. Browsing with both Firefox and Chrome to the URL works with no cert errors.

Any suggestions?
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: Website Wizard: Cannot make SSL connection.

Post by benjaminsmith »

Hi,

Let's add the -v flag to the command line for verbose output to help troubleshoot the error. Please run the following and post the full output from the check command.

Code: Select all

./check_http -H <server> -C 30,7 -p 44 -v
Also, please try the following version and post the full output as well. Thanks! Benjamin

Code: Select all

./check_http -H <server> -C 30,7 -p 44 --sni -v
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: Website Wizard: Cannot make SSL connection.

Post by TBT »

Assuming you meant 443, here are the results:

Code: Select all

./check_http -H <server> -C 30,7 -p 443 -v
CRITICAL - Cannot make SSL connection.
SSL initialized

Code: Select all

./check_http -H <server> -C 30,7 -p 443 --sni -v
SSL initialized
SSL OK - Certificate '<server>' will expire on 2022-04-27 19:59 -0400/EDT.
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: Website Wizard: Cannot make SSL connection.

Post by benjaminsmith »

Hi,

Thanks for testing that.. Looks like adding the --sni option works.
--sni
Enable SSL/TLS hostname extension support (SNI)
https://www.monitoring-plugins.org/doc/ ... _http.html
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: Website Wizard: Cannot make SSL connection.

Post by TBT »

benjaminsmith wrote:Hi,

Thanks for testing that.. Looks like adding the --sni option works.
--sni
Enable SSL/TLS hostname extension support (SNI)
https://www.monitoring-plugins.org/doc/ ... _http.html
Ah yes, this bit me once before! Issue resolved with Server Name Indication (SNI) flag.
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: Website Wizard: Cannot make SSL connection.

Post by benjaminsmith »

Hi @TBT,

Excellent! We'll mark this as resolved. Feel free to open a new post if you have any new questions.

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!
Locked