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?
Website Wizard: Cannot make SSL connection.
Website Wizard: Cannot make SSL connection.
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: Website Wizard: Cannot make SSL connection.
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.
Also, please try the following version and post the full output as well. Thanks! Benjamin
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
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!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Website Wizard: Cannot make SSL connection.
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 initializedCode: 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
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.
Hi,
Thanks for testing that.. Looks like adding the --sni option works.
Thanks for testing that.. Looks like adding the --sni option works.
https://www.monitoring-plugins.org/doc/ ... _http.html--sni
Enable SSL/TLS hostname extension support (SNI)
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: Website Wizard: Cannot make SSL connection.
Ah yes, this bit me once before! Issue resolved with Server Name Indication (SNI) flag.benjaminsmith wrote:Hi,
Thanks for testing that.. Looks like adding the --sni option works.https://www.monitoring-plugins.org/doc/ ... _http.html--sni
Enable SSL/TLS hostname extension support (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: Website Wizard: Cannot make SSL connection.
Hi @TBT,
Excellent! We'll mark this as resolved. Feel free to open a new post if you have any new questions.
Benjamin
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!
Be sure to check out our Knowledgebase for helpful articles and solutions!