Error - Could not complete SSL handshake
Posted: Tue Jun 29, 2021 10:09 am
Hello Team,
We are monitoring on server in Nagios. We are getting below error:
[root@HO1-NAGIOSXI libexec]# ./check_nrpe -H 10.50.20.13 -t 30 -c check_ntp -a '-w 20 -c 40'
CHECK_NRPE: (ssl_err != 5) Error - Could not complete SSL handshake with 10.50.20.13: 1
[root@HO1-NAGIOSXI libexec]#
1.There is no firewall.
2. Port 5666 is open.
[root@HO1-NAGIOSXI libexec]# nmap 10.50.20.13 -p 5666
Starting Nmap 7.70 ( https://nmap.org ) at 2021-06-29 19:07 +04
Nmap scan report for 10.50.20.13
Host is up (0.11s latency).
PORT STATE SERVICE
5666/tcp open nrpe
Nmap done: 1 IP address (1 host up) scanned in 0.63 seconds
[root@HO1-NAGIOSXI libexec]#
3. Telnet is working fine:
[root@HO1-NAGIOSXI libexec]# telnet 10.50.20.13 5666
Trying 10.50.20.13...
Connected to 10.50.20.13.
Escape character is '^]'.
^C^C^CConnection closed by foreign host.
4. dont_blame_nrpe =1
5. Nagios IP is added in allowed_hosts entry.
#add entry for allowed hosts
allowed_hosts=10.50.10.21,10.1.0.220
Please help us to understand the issue.
We are monitoring on server in Nagios. We are getting below error:
[root@HO1-NAGIOSXI libexec]# ./check_nrpe -H 10.50.20.13 -t 30 -c check_ntp -a '-w 20 -c 40'
CHECK_NRPE: (ssl_err != 5) Error - Could not complete SSL handshake with 10.50.20.13: 1
[root@HO1-NAGIOSXI libexec]#
1.There is no firewall.
2. Port 5666 is open.
[root@HO1-NAGIOSXI libexec]# nmap 10.50.20.13 -p 5666
Starting Nmap 7.70 ( https://nmap.org ) at 2021-06-29 19:07 +04
Nmap scan report for 10.50.20.13
Host is up (0.11s latency).
PORT STATE SERVICE
5666/tcp open nrpe
Nmap done: 1 IP address (1 host up) scanned in 0.63 seconds
[root@HO1-NAGIOSXI libexec]#
3. Telnet is working fine:
[root@HO1-NAGIOSXI libexec]# telnet 10.50.20.13 5666
Trying 10.50.20.13...
Connected to 10.50.20.13.
Escape character is '^]'.
^C^C^CConnection closed by foreign host.
4. dont_blame_nrpe =1
5. Nagios IP is added in allowed_hosts entry.
#add entry for allowed hosts
allowed_hosts=10.50.10.21,10.1.0.220
Please help us to understand the issue.