Currently I am testing NCPA as a replacement for NRPE which is now deprecated since version 4.0.1 .
I am trying to use a certificate by our own CA to avoid using the self-signed certfificate shippd with NCPA by default.
In ncpa.cfg I changed this:
Afterwards I replaced the content of the files var/ncpa.key and var/ncpa.crt .certificate = var/ncpa.crt
#certificate = adhoc
After restarting NCPA the TLS connection fails.
In var/log/ncpa_listener.log I can see this:
Code: Select all
2020-04-20 14:13:12,213 6315 INFO started
2020-04-20 14:13:12,214 6315 INFO Using SSL version TLSv1_2
2020-04-20 14:13:12,215 6315 ERROR need more than 1 value to unpack
Traceback (most recent call last):
File "ncpa_listener.py", line 83, in run
ValueError: need more than 1 value to unpack
Best regards.