sslv3 alert handshake failure only in webinterface

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
GET65IT
Posts: 2
Joined: Fri Aug 23, 2019 3:58 am

sslv3 alert handshake failure only in webinterface

Post by GET65IT »

Hello,

we receive with the check_http command this error

Code: Select all

SSL routines:ssl3_read_bytes:sslv3 alert handshake failure:s3_pkt.c:1487:SSL alert number 40
only in nagios webinterface!

But from cmd line it's works without errors. This is a odd behavior.

Code: Select all

define service {
    use                 generic-service
    host_name           TEST
    service_description TEST URL
    check_command       check_http! -H our-server -S --sni -u /path/to/page -e 200,301
    check_interval      5
}
Result from cmd line

Code: Select all

$ check_http -H our-server -S --sni -u /path/to/page -e 200,301

HTTP OK: Status line output matched "200,301" - HTTP/1.1 200 OK - 70296 bytes in 2.795 second response time |time=2.795303s;;;0.000000 size=70296B;;;0
The result of the web interface is attached as a screenshot. We can't explain this behavior.
Attachments
Nagios Service with error
Nagios Service with error
bheden
Product Development Manager
Posts: 179
Joined: Thu Feb 13, 2014 9:50 am
Location: Nagios Enterprises

Re: sslv3 alert handshake failure only in webinterface

Post by bheden »

That error is indicative of the hostname not being properly sent to download the right certificate, if I recall correctly.

Can you increase the verbosity of the check definition? -vvv And then provide the output?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Nagios Enterprises
Senior Developer
GET65IT
Posts: 2
Joined: Fri Aug 23, 2019 3:58 am

Re: sslv3 alert handshake failure only in webinterface

Post by GET65IT »

Hi,

I found the problem myself shortly after the post. Someone else had the problem before.

https://support.nagios.com/forum/viewto ... 627#p40682
User avatar
mbellerue
Posts: 1403
Joined: Fri Jul 12, 2019 11:10 am

Re: sslv3 alert handshake failure only in webinterface

Post by mbellerue »

Excellent! Thank you for linking to the solution! I will go ahead and close this thread.
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