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

GitHub | frami | 2 months ago
  1. 0

    GitHub comment 129#249104267

    GitHub | 2 months ago | frami
    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

    HTTPS port issue - certificate_unknown

    GitHub | 2 years ago | chamal
    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

    Apache HttpClient exception PKIX path building failed

    Stack Overflow | 3 years ago | Victor Ribeiro da Silva Eloy
    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

    How to enable SSL for RPC connection?

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

    HTTPs connection by apache httpclient 4.4

    Stack Overflow | 2 years ago | Bomin
    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

  1. andyglick 17 times, last 2 months ago
  2. tvrmsmith 4 times, last 2 months ago
  3. Dore 25 times, last 3 months ago
  4. davidvanlaatum 10 times, last 4 months ago
  5. Andreas Häber 8 times, last 3 weeks ago
2 more registered users
58 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. 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.SSLConnectionSocketFactory.createLayeredSocket(SSLConnectionSocketFactory.java:394)
    2. org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:353)
    3. org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:141)
    4. org.apache.http.impl.conn.BasicHttpClientConnectionManager.connect(BasicHttpClientConnectionManager.java:338)
    5. org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:380)
    6. org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)
    7. org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)
    8. org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)
    9. org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
    10. org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
    11. org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
    12. org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:107)
    13. org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55)
    13 frames
  5. org.jenkinsci.plugins
    StashNotifier.prebuild
    1. org.jenkinsci.plugins.stashNotifier.StashNotifier.notifyStash(StashNotifier.java:689)
    2. org.jenkinsci.plugins.stashNotifier.StashNotifier.processJenkinsEvent(StashNotifier.java:287)
    3. org.jenkinsci.plugins.stashNotifier.StashNotifier.prebuild(StashNotifier.java:198)
    3 frames
  6. Hudson
    Executor.run
    1. hudson.model.AbstractBuild$AbstractBuildExecution.preBuild(AbstractBuild.java:834)
    2. hudson.model.AbstractBuild$AbstractBuildExecution.preBuild(AbstractBuild.java:829)
    3. hudson.model.Build$BuildExecution.doRun(Build.java:144)
    4. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)
    5. hudson.model.Run.execute(Run.java:1720)
    6. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
    7. hudson.model.ResourceController.execute(ResourceController.java:98)
    8. hudson.model.Executor.run(Executor.java:404)
    8 frames