sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

Stack Overflow | игор | 4 months ago
  1. 0

    HTTPS issue with createSocket, connect and connectionTimeout

    Stack Overflow | 4 months ago | игор
    sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
  2. 0

    GitHub comment 323#235819584

    GitHub | 4 months ago | pzn4jc
    sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
  3. 0

    Fails to connect to HTTPS endpoint

    GitHub | 1 month ago | igorspasic
    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

    jodd.http.HttpException: sun.security.validator.ValidatorException: PKIX path building failed sun.security.provider.certpath.SunCertPathBuilderException:

    GitHub | 3 years ago | yizhl
    sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

    8 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(SunCertPathBuilder.java:141)
      2. sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:126)
      3. java.security.cert.CertPathBuilder.build(CertPathBuilder.java:280)
      4. sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:382)
      5. sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:292)
      6. sun.security.validator.Validator.validate(Validator.java:260)
      6 frames
    3. Java JSSE
      SSLSocketImpl.startHandshake
      1. sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:324)
      2. sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:229)
      3. sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124)
      4. sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1491)
      5. sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:216)
      6. sun.security.ssl.Handshaker.processLoop(Handshaker.java:979)
      7. sun.security.ssl.Handshaker.process_record(Handshaker.java:914)
      8. sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1062)
      9. sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375)
      10. sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1403)
      11. sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1387)
      11 frames
    4. Jodd HTTP client
      HttpRequest.send
      1. jodd.http.net.SocketHttpConnectionProvider.createSSLSocket(SocketHttpConnectionProvider.java:153)
      2. jodd.http.net.SocketHttpConnectionProvider.createHttpConnection(SocketHttpConnectionProvider.java:68)
      3. jodd.http.HttpRequest.open(HttpRequest.java:665)
      4. jodd.http.HttpRequest.open(HttpRequest.java:649)
      5. jodd.http.HttpRequest._send(HttpRequest.java:747)
      6. jodd.http.HttpRequest.send(HttpRequest.java:742)
      6 frames
    5. Jodd Core
      JoddHttpTest.main
      1. jodd.JoddHttpTest.main(JoddHttpTest.java:56)
      1 frame