curl failed with "NSS error -5961" to get a content from https site.
Issue
The curl command failed with the following error.
$ curl -vvv https://example.com/index.html
* About to connect() to example.com port 443 (#0)
* Trying 10.0.0.1... connected
* Connected to example.com (10.0.0.1) port 443 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
* CAfile: /etc/pki/tls/certs/ca-bundle.crt
CApath: none
* NSS error -5961
* Closing connection #0
* SSL connect error
curl: (35) SSL connect error
Environment
Red Hat Enterprise Linux 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
