Why Curl throws an error "SSL_ERROR_NO_CYPHER_OVERLAP" while TLS handshaking?

Solution Verified - Updated -

Issue

  • Using curl to SHA256 sites get below error.
  • Used yum update to latest curl-7.29.0-25.el7.x86_64 but error persists.
curl -v https://test.example.com/nvp
* About to connect() to test.example.com port 443 (#0)
*   Trying 173.0.82.83...
* Connected to test.example.com (173.0.82.83) port 443 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
*   CAfile: /etc/pki/tls/certs/ca-bundle.crt
  CApath: none
* NSS error -12286 (SSL_ERROR_NO_CYPHER_OVERLAP)
* Cannot communicate securely with peer: no common encryption algorithm(s).
* Closing connection 0
curl: (35) Cannot communicate securely with peer: no common encryption algorithm(s).

Environment

  • Red Hat Enterprise Linux 7.1
  • curl-7.29.0-25.el7.x86_64

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content