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

Atlassian JIRA | Jeff Turner | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    When using LDAP with JIRA 3.4, user authentication will fail with the following error if TLS is unsupported by the server: {noformat} 2005-11-11 14:59:01,480 [webwork.dispatcher.ServletDispatcher] Unable to find 'webwork.multipart.saveDir' property setting. Defaulting to javax.servlet.context.tempdir 2005-11-11 14:59:25,916 ERROR [user.provider.ldap.LDAPCredentialsProvider] Error negotiating TLS connection: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:150) at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:117) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1542) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:863) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1025) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1038) at com.sun.jndi.ldap.ext.StartTlsResponseImpl.startHandshake(StartTlsResponseImpl.java:344) at com.sun.jndi.ldap.ext.StartTlsResponseImpl.negotiate(StartTlsResponseImpl.java:208) at com.sun.jndi.ldap.ext.StartTlsResponseImpl.negotiate(StartTlsResponseImpl.java:161) at com.opensymphony.user.provider.ldap.LDAPCredentialsProvider.authenticate(LDAPCredentialsProvider.java:127) at com.opensymphony.user.User.authenticate(User.java:129) {noformat}

    Atlassian JIRA | 1 decade ago | Jeff Turner
    javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
  2. 0

    Can't connect w/ encryption after loading a custom certificate

    apache.org | 2 years ago
    javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure]
  3. 0

    CertificateException: No subject alternative DNS name found

    forumeasy.com | 1 year ago
    javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    SunCertPathBuilderException: unable to find valid certification path to requested target

    forumeasy.com | 2 years ago
    javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
  6. 0

    Connection to LDAP with TLS : SSLHandshakeException

    Oracle Community | 1 decade ago | 843811
    javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure main, handling exception: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure main, called close() main, called closeInternal(true) javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure

    15 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 com.sun.net.ssl.internal.ssl.Alerts.getSSLException()
    2. Java JSSE
      SSLSocketImpl.startHandshake
      1. com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:150)
      2. com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:117)
      3. com.sun.net.ssl.internal.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1542)
      4. com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:863)
      5. com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1025)
      6. com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1038)
      6 frames
    3. Java RT
      StartTlsResponseImpl.negotiate
      1. com.sun.jndi.ldap.ext.StartTlsResponseImpl.startHandshake(StartTlsResponseImpl.java:344)
      2. com.sun.jndi.ldap.ext.StartTlsResponseImpl.negotiate(StartTlsResponseImpl.java:208)
      3. com.sun.jndi.ldap.ext.StartTlsResponseImpl.negotiate(StartTlsResponseImpl.java:161)
      3 frames
    4. com.opensymphony.user
      User.authenticate
      1. com.opensymphony.user.provider.ldap.LDAPCredentialsProvider.authenticate(LDAPCredentialsProvider.java:127)
      2. com.opensymphony.user.User.authenticate(User.java:129)
      2 frames