SSL Cert failto make connection
Re: SSL Cert failto make connection
check_http v1.4.15-46-gefa2 (nagios-plugins 1.4.15)
Re: SSL Cert failto make connection
Is your load balancing implementation using virtual ports?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: SSL Cert failto make connection
I believe so as they are virtual machines
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: SSL Cert failto make connection
Alright lets restructure your check:
Code: Select all
./check_http -H ip.of.host.here -S -v -C 14Re: SSL Cert failto make connection
This was the response when the above command was ran:
[root@nagios-test libexec]# ./check_http -H XX.XX.X.XX -v -C 14
CRITICAL - Cannot make SSL connection
CRITICAL - Cannot retrieve server certificate.
IP has been sanitized for privacy reasons, and when the FQDN is used instead of IP the result is the same, I cannot check via URL as the Web server is application layer load-balanced with two or three other servers.
[root@nagios-test libexec]# ./check_http -H XX.XX.X.XX -v -C 14
CRITICAL - Cannot make SSL connection
CRITICAL - Cannot retrieve server certificate.
IP has been sanitized for privacy reasons, and when the FQDN is used instead of IP the result is the same, I cannot check via URL as the Web server is application layer load-balanced with two or three other servers.
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: SSL Cert failto make connection
You did not add the "-S" in as shown above. We want to verify if the ssl switch will make a difference in this case since "-C" should be setting the port as 443 already.
Re: SSL Cert failto make connection
I added the -S (sorry missed that before) but to no avail the issue remains. The output remains the same as before:
[root@nagios-test libexec]# ./check_http -H 10.50.1.26 -S -v -C 14
CRITICAL - Cannot make SSL connection
CRITICAL - Cannot retrieve server certificate.
[root@nagios-test libexec]# ./check_http -H 10.50.1.26 -S -v -C 14
CRITICAL - Cannot make SSL connection
CRITICAL - Cannot retrieve server certificate.
Re: SSL Cert failto make connection
I assume this website serves ssl on port 443?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: SSL Cert failto make connection
Yes it does also port 83
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: SSL Cert failto make connection
Can you run:
Code: Select all
./check_http -H ip.of.server.here -p 83 -S -v -C 14