NCPA: Unable to connect with ssl-handshake failures
Posted: Fri May 28, 2021 5:22 am
Hi,
i've installed NCPA from your nagios-repo:
# rpm -q ncpa
ncpa-2.3.1-1.el7.x86_64
After that i want to connect to the Server but i got an error. So i've tried with curl:
[nagios@nagios libexec]$ curl -k "https://IP.AD.RE.SS:5693/testconnect?token=<MYTOKEN>" -vvv
* Trying IP.AD.RE.SS...
* TCP_NODELAY set
* Connected to IP.AD.RE.SS (IP.AD.RE.SS) port 5693 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/pki/tls/certs/ca-bundle.crt
CApath: none
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS alert, handshake failure (552):
* error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure
* Closing connection 0
curl: (35) error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure
Both Systems are CentOS, Nagios on 8, Client on 7.
I didn't find a solution, can you help me?
i've installed NCPA from your nagios-repo:
# rpm -q ncpa
ncpa-2.3.1-1.el7.x86_64
After that i want to connect to the Server but i got an error. So i've tried with curl:
[nagios@nagios libexec]$ curl -k "https://IP.AD.RE.SS:5693/testconnect?token=<MYTOKEN>" -vvv
* Trying IP.AD.RE.SS...
* TCP_NODELAY set
* Connected to IP.AD.RE.SS (IP.AD.RE.SS) port 5693 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/pki/tls/certs/ca-bundle.crt
CApath: none
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS alert, handshake failure (552):
* error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure
* Closing connection 0
curl: (35) error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure
Both Systems are CentOS, Nagios on 8, Client on 7.
I didn't find a solution, can you help me?