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

Stack Overflow | Senior Wurst | 4 months ago
  1. 0

    Enabling old/unsafe Ciphers programmatically in Java

    Stack Overflow | 4 months ago | Senior Wurst
    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

    Is the Tor portion functional?

    GitHub | 4 weeks ago | 123dev
    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

    okhttp3.x get https://nghttp2.org error

    GitHub | 5 months ago | devil0118
    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

    Create OpenShift Resource throws exception even when SKIP_TLS=1

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

    XAdES-T over HTTPS

    Stack Overflow | 12 months ago | user3800110
    xades4j.production.PropertyDataGenerationException: Property data generation failed for SignatureTimeStamp: cannot get a time-stamp
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:146)
    2. sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:131)
    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. okhttp3.internal.connection
    ConnectInterceptor.intercept
    1. okhttp3.internal.connection.RealConnection.connectTls(RealConnection.java:241)
    2. okhttp3.internal.connection.RealConnection.establishProtocol(RealConnection.java:198)
    3. okhttp3.internal.connection.RealConnection.buildConnection(RealConnection.java:174)
    4. okhttp3.internal.connection.RealConnection.connect(RealConnection.java:114)
    5. okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:193)
    6. okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:129)
    7. okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:98)
    8. okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42)
    8 frames
  5. okhttp3.internal.http
    RealInterceptorChain.proceed
    1. okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
    2. okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
    2 frames
  6. okhttp3.internal.cache
    CacheInterceptor.intercept
    1. okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:109)
    1 frame
  7. okhttp3.internal.http
    RealInterceptorChain.proceed
    1. okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
    2. okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
    3. okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93)
    4. okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
    5. okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:124)
    6. okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
    7. okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
    7 frames
  8. okhttp3
    RealCall.execute
    1. okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:170)
    2. okhttp3.RealCall.execute(RealCall.java:60)
    2 frames
  9. de.dootdoot.dubtrack4k
    Dubtrack.login
    1. de.dootdoot.dubtrack4k.requesttypes.AbstractRequest.request(AbstractRequest.kt:28)
    2. de.dootdoot.dubtrack4k.requesttypes.AbstractRequest.request(AbstractRequest.kt:23)
    3. de.dootdoot.dubtrack4k.HttpRequester.post(HttpRequester.kt:26)
    4. de.dootdoot.dubtrack4k.HttpRequester.request(HttpRequester.kt:14)
    5. de.dootdoot.dubtrack4k.HttpRequester.request$default(HttpRequester.kt:11)
    6. de.dootdoot.dubtrack4k.requests.LoginRequest.setURL(LoginRequest.kt:50)
    7. de.dootdoot.dubtrack4k.requests.LoginRequest.request(LoginRequest.kt:17)
    8. de.dootdoot.dubtrack4k.models.Account.login(Account.kt:10)
    9. de.dootdoot.dubtrack4k.Dubtrack.login(Dubtrack.kt:19)
    9 frames
  10. Unknown
    LoginTest.loginTest
    1. LoginTest.loginTest(LoginTest.kt:15)
    1 frame
  11. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:497)
    4 frames
  12. JUnit
    JUnitCore.run
    1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
    2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
    4. org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
    5. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
    6. org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
    7. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
    8. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
    9. org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
    10. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
    11. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
    12. org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
    13. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
    14. org.junit.runners.ParentRunner.run(ParentRunner.java:309)
    15. org.junit.runner.JUnitCore.run(JUnitCore.java:160)
    15 frames
  13. IntelliJ junit4 module
    JUnit4IdeaTestRunner.startRunnerWithArgs
    1. com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:119)
    2. com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:42)
    2 frames
  14. IDEA
    JUnitStarter.main
    1. com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:234)
    2. com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:74)
    2 frames
  15. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:497)
    4 frames
  16. IDEA
    AppMain.main
    1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
    1 frame