javax.net.ssl.SSLException: java.lang.IllegalArgumentException: SSLv2Hello cannot be enabled unless at least one other supported version is also enabled

Solution Verified - Updated -

Issue

  • We are getting the below error while i try to call https webservice. We imported the certificates into JDK cacerts.
Caused by: javax.net.ssl.SSLException: java.lang.IllegalArgumentException: SSLv2Hello cannot be enabled unless at least one other supported version is also enabled.
    at sun.security.ssl.Alerts.getSSLException(Alerts.java:208)[:1.7.0_75]
    at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1904)[:1.7.0_75]
    at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1862)[:1.7.0_75]

Environment

  • Red Hat JBoss Fuse
    • 6.1.0
  • Apache CXF

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