nscp icon indicating copy to clipboard operation
nscp copied to clipboard

Failed to establish secure connection: peer did not return a certificate: 199

Open Pablo1816 opened this issue 4 years ago • 1 comments

I have NSCP 0.5.2.39 (NSclient) windows 10 installed, On ubuntu 18 Nagios 4.4.2 NRPE 3.2.1, running ./check_nrpe -h client ip with result from server **"CHECK_NRPE: (ssl_err! = 5) Error - Could not complete SSL handshake with "**and client "error: c: \ source \ 0.5.1 \ include \ socket / connection.hpp: 276: Failed to establish secure connection: sslv3 alert handshake failure: 1040 ", error corrected by generating a 2048 DH key on the client side with the following command openssl dhparam -C 2048 and adding the following line in the configuration file NSclient.ini ; DH KEY - dh = $ {certificate-path} /nrpe_dh_2048.pem which refers to the key generated with the above command, but now I have new error from server side: CHECK_NRPE: Error - Could not connect to 192.168.0.25. Check system logs on 192.168.0.25 and if we look at the log in the client, the following line appears for each attempt: 2020-03-26 07:37:49: error: c: \ source \ master \ include \ socket / connection.hpp: 276: Failed to establish secure connection: peer did not return a certificate: 199

Any suggestion

Pablo1816 avatar Mar 26 '20 14:03 Pablo1816

Any solution for that? I'm facing the same issue. check_nrpe version 4.0.0 on Ubuntu 20.04 server

Maverick87Shaka avatar Jan 03 '22 23:01 Maverick87Shaka