Troubleshooting NSS error -5961 (PR_CONNECT_RESET_ERROR)
Posted: Mon Aug 10, 2020 3:48 pm
I am having trouble connecting to a remote host via NCPA. Below is the output when I run the test connect command. Nagios XI can reach the agent but then the connection gets reset. Any ideas on what the issue may be?
[root@<nagios xi> ~]# curl -k "https://<remote host>:5693/testconnect/?token=<token>" -v
* About to connect() to <remote host> port 5693 (#0)
* Trying <remote IP>...
* Connected to <remote host> (<remote IP>) port 5693 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
* NSS error -5961 (PR_CONNECT_RESET_ERROR)
* TCP connection reset by peer
* Closing connection 0
curl: (35) TCP connection reset by peer
[root@<nagios xi> ~]# curl -k "https://<remote host>:5693/testconnect/?token=<token>" -v
* About to connect() to <remote host> port 5693 (#0)
* Trying <remote IP>...
* Connected to <remote host> (<remote IP>) port 5693 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
* NSS error -5961 (PR_CONNECT_RESET_ERROR)
* TCP connection reset by peer
* Closing connection 0
curl: (35) TCP connection reset by peer