SSL HANDSHAKE ERROR

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
tejanagios
Posts: 24
Joined: Wed Feb 03, 2016 6:45 am

SSL HANDSHAKE ERROR

Post by tejanagios »

HI,

I've followed the gidelines about NRPE SSL option and turning it off, made changes to the allowhosts and entered my client IP address at nrpe.cfg, but when testing the command from the server without -n option, i am getting a
'could not complete SSL handshake error' ; i've played with the time out settings as well.

2. Also, could you also point me to setting up ssl between nagios xi and nsclient 0.4.4 please.




Here is my configuration file:

[/modules]
CheckSystem = enabled
CheckDisk = enabled
CheckExternalScripts = enabled
NRPEServer = enabled


[/settings/default]
allowed hosts = 172.24.48.16
password = simple10


[/settings/NRPE/server]

; COMMAND ARGUMENT PROCESSING - This option determines whether or not the we will allow clients to specify arguments to commands that are executed.
allow arguments = True

; COMMAND ALLOW NASTY META CHARS - This option determines whether or not the we will allow clients to specify nasty (as in |`&><'"\[]{}) characters in arguments.
allow nasty characters = false

; PORT NUMBER - Port to use for NRPE.
port = 5666

# ENABLE SSL ENCRYPTION
use ssl = 0

#COMMAND TIMEOUT
timeout = 60

; Undocumented key
verify mode = none

; Undocumented key
insecure = true


[/settings/external scripts]
allow arguments = True


[/settings/external scripts/scripts]
test_ps1 = cmd /c echo scripts\check_test.ps1; exit($lastexitcode) | powershell.exe -command -
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: SSL HANDSHAKE ERROR

Post by rkennedy »

# ENABLE SSL ENCRYPTION
use ssl = 0
I believe this needs to be changed to a 1. Then, restart the NSClient++ service and try again.
Former Nagios Employee
Locked