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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.