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

Jenkins JIRA | Andy Bigos | 3 years ago
  1. 0

    Hi, I'm getting an error: {noformat} Failed to login AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: 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 faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}stackTrace: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 at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:174) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1731) at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:241) {noformat} when trying to connect to confluence that seems very close to the issue described in [JENKINS-17693|https://issues.jenkins-ci.org/browse/JENKINS-17693]. The server I'm talking to is https so I suspect it's the same issue. It's mentioned that there is a procedure to get the certificate from the server and install import to jvm. I wonder if it would be possible to document this procedure somewhere? Not sure if it's relevant but the Confluence I'm connecting to is rather an old version, 2.5.8. Thanks Andy

    Jenkins JIRA | 3 years ago | Andy Bigos
    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
  2. 0

    Hi, I'm getting an error: {noformat} Failed to login AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: 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 faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}stackTrace: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 at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:174) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1731) at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:241) {noformat} when trying to connect to confluence that seems very close to the issue described in [JENKINS-17693|https://issues.jenkins-ci.org/browse/JENKINS-17693]. The server I'm talking to is https so I suspect it's the same issue. It's mentioned that there is a procedure to get the certificate from the server and install import to jvm. I wonder if it would be possible to document this procedure somewhere? Not sure if it's relevant but the Confluence I'm connecting to is rather an old version, 2.5.8. Thanks Andy

    Jenkins JIRA | 3 years ago | Andy Bigos
    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
  3. 0

    Spring javamailsender sending SSL emails

    Stack Overflow | 3 years ago | FirstX
    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

    Cannot access to Linux Server by sun.security.validator.ValidatorException: PKIX path building failed

    Stack Overflow | 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

    AMFConnection Java client with authentication | Adobe Community

    adobe.com | 1 year ago
    AMFConnection.Call.Failed

    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

      sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

      at com.sun.net.ssl.internal.ssl.Alerts.getSSLException()
    2. Java JSSE
      Handshaker.fatalSE
      1. com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:174)
      2. com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1731)
      3. com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:241)
      3 frames