javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure

Stack Overflow | arcy | 4 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0

    TLS 1.2 was supported in Java 8 but not in Java 7

    Stack Overflow | 11 months ago | Krishanthy Mohanachandran
    javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
  2. 0
    samebug tip
    This might be caused by unmatching versions of SSL. Java starts normally with SSLv2 and your server might not be able to negotiate. You have to force Java to use SSLv3. See this comment: https://goo.gl/hx0YB3
  3. 0

    Java JDK 7 SSL Issue

    Stack Overflow | 2 years ago
    javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    SSL error introduced by upgrading to Java 1.7 from 1.6

    Stack Overflow | 4 years ago | Lambert
    javax.net.ssl.SSLException: Received fatal alert: illegal_parameter
  6. 0

    javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure?

    Stack Overflow | 3 months ago | user3676578
    javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure

  1. Andreas Häber 2 times, last 1 month ago
  2. aldrinleal 1 times, last 4 months ago
  3. johnxfly 1 times, last 4 months ago
  4. rp 1 times, last 5 months ago
  5. kid 540 times, last 10 months ago
1 more registered users
94 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. javax.net.ssl.SSLHandshakeException

    Received fatal alert: handshake_failure

    at sun.security.ssl.Alerts.getSSLException()
  2. Java JSSE
    SSLSocketImpl.startHandshake
    1. sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
    2. sun.security.ssl.Alerts.getSSLException(Alerts.java:154)
    3. sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1977)
    4. sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1093)
    5. sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1328)
    6. sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1355)
    7. sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1339)
    7 frames
  3. Java RT
    HttpsURLConnectionImpl.getOutputStream
    1. sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:515)
    2. sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
    3. sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1090)
    4. sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:250)
    4 frames
  4. Spring WS Core
    HttpUrlConnection.getRequestOutputStream
    1. org.springframework.ws.transport.http.HttpUrlConnection.getRequestOutputStream(HttpUrlConnection.java:84)
    1 frame