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

eclipse.org | 2 weeks ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Unable to POST to https using Apache HTTP

    Stack Overflow | 2 months ago | gd000
    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

    java.net.SocketTimeoutException: Read timed out after failed request

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

    On Test Automation | A very basic web service test tool

    ontestautomation.com | 10 months ago
    com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Message send failed
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Kaspersky Lab Forum > Kasperskys 2015 und seine Google Zertifikate

    kaspersky.com | 11 months ago
    com.google.gdata.util.AuthenticationException: Error connecting with login URI
  6. 0

    Sending http request to server have exception sometimes happen

    Stack Overflow | 5 years ago | Kevin Qu
    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
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. sun.security.provider.certpath.SunCertPathBuilderException

    unable to find valid certification path to requested target

    at sun.security.provider.certpath.SunCertPathBuilder.build()
  2. Java RT
    Validator.validate
    1. sun.security.provider.certpath.SunCertPathBuilder.build(Unknown Source)
    2. sun.security.provider.certpath.SunCertPathBuilder.engineBuild(Unknown Source)
    3. java.security.cert.CertPathBuilder.build(Unknown Source)
    4. sun.security.validator.PKIXValidator.doBuild(Unknown Source)
    5. sun.security.validator.PKIXValidator.engineValidate(Unknown Source)
    6. sun.security.validator.Validator.validate(Unknown Source)
    6 frames
  3. Java JSSE
    SSLSocketImpl.startHandshake
    1. sun.security.ssl.X509TrustManagerImpl.validate(Unknown Source)
    2. sun.security.ssl.X509TrustManagerImpl.checkTrusted(Unknown Source)
    3. sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source)
    4. sun.security.ssl.ClientHandshaker.serverCertificate(Unknown Source)
    5. sun.security.ssl.ClientHandshaker.processMessage(Unknown Source)
    6. sun.security.ssl.Handshaker.processLoop(Unknown Source)
    7. sun.security.ssl.Handshaker.process_record(Unknown Source)
    8. sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
    9. sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
    10. sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
    11. sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
    11 frames
  4. Apache HttpClient
    CloseableHttpClient.execute
    1. org.apache.http.conn.ssl.SSLSocketFactory.createLayeredSocket(SSLSocketFactory.java:554)
    2. org.apache.http.conn.ssl.SSLSocketFactory.createLayeredSocket(SSLSocketFactory.java:435)
    3. org.apache.http.impl.conn.DefaultClientConnectionOperator.updateSecureConnection(DefaultClientConnectionOperator.java:216)
    4. org.apache.http.impl.conn.ManagedClientConnectionImpl.layerProtocol(ManagedClientConnectionImpl.java:394)
    5. org.apache.http.impl.client.DefaultRequestDirector.establishRoute(DefaultRequestDirector.java:814)
    6. org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:615)
    7. org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:446)
    8. org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:863)
    9. org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
    9 frames
  5. org.eclipse.ecf
    AbstractFileSystemBrowser$DirectoryJob.run
    1. org.eclipse.ecf.provider.filetransfer.httpclient4.HttpClientFileSystemBrowser.runRequest(HttpClientFileSystemBrowser.java:263)
    2. org.eclipse.ecf.provider.filetransfer.browse.AbstractFileSystemBrowser$DirectoryJob.run(AbstractFileSystemBrowser.java:69)
    2 frames
  6. Eclipse Jobs
    Worker.run
    1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
    1 frame