javax.net.ssl.SSLHandshakeException

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

Import the server certificate into your truststore.

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • Java SSL starts rejecting new connections
    via Stack Overflow by KaizenSoze
    ,
  • Java 7 and TLSv1.2 socket
    via Stack Overflow by EmaB
    ,
  • Java JDK 7 SSL Issue
    via by Unknown author,
  • HtmlUnit Javascript error when getting Page
    via Stack Overflow by Agolson
    ,
    • javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure at sun.security.ssl.Alerts.getSSLException(Alerts.java:192) at sun.security.ssl.Alerts.getSSLException(Alerts.java:154) at sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1979) at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1086) at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1332) at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1359) at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1343) at com.mosol.util.security.ssl.configuration.SSLConfigSocket.startHandshake(SSLConfigSocket.java:79) at com.mosol.util.security.ssl.configuration.SSLConfiguration.layerServerSideSSL(SSLConfiguration.java:164) at com.mosol.util.CORBA.FSSL.JSSE.ContextDataV2.accept(ContextDataV2.java:45) at com.ooc.OCI.FSSLIOP.Acceptor_impl.accept(Acceptor_impl.java:175) at com.ooc.OCI.BiDir.Acceptor_impl.accept(Acceptor_impl.java:70) at com.ooc.OB.GIOPServerStarterThreaded.starterRun(GIOPServerStarterThreaded.java:237) at com.ooc.OB.GIOPServerStarterThreaded$StarterThread.run(GIOPServerStarterThreaded.java:33)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor2 times, last one,
    132 more bugmates