javax.net.ssl.SSLHandshakeException

Received fatal alert: handshake_failure

Samebug tips1

Import the server certificate into your truststore.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web990

  • via Coderanch by Van Vu, 8 months ago
    Received fatal alert: handshake_failure
  • via GitHub by croufay
    , 10 months ago
    Received fatal alert: handshake_failure
  • via GitHub by landryb
    , 1 year ago
    Received fatal alert: handshake_failure
  • Stack trace

    • 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 sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:563) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1301) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254) at com.unitnet.utils.intouch.TestSSL.testIt(TestSSL.java:42) at com.unitnet.utils.intouch.TestSSL.main(TestSSL.java:16)

    Write tip

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

    Users with the same issue

    Unknown user
    Once, 4 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    2 times, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    132 more bugmates