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. 0

    WSO2 Governance Registry: Cannot add Active Directory user store with certificates

    Server Fault | 1 year ago | Mohamed-Ali BEN MANSOUR
    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

    Error in connecting to Smartsheet using Java API

    Stack Overflow | 1 year ago | ak31
    com.smartsheet.api.internal.http.HttpClientException: Error occurred.
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    CONNECT Installation Issues - Query Document from Remote Gateway

    connectopensource.org | 11 months ago
    org.apache.cxf.binding.soap.SoapFault: Problem writing SAAJ model to stream
  5. 0

    PKIX path building failed,How Can I fix it?

    GitHub | 2 years ago | klisly
    retrofit.RetrofitError: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

  1. tvrmsmith 4 times, last 2 months ago
  2. Dore 25 times, last 3 months ago
  3. andyglick 17 times, last 2 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(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:1488)
    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. Java RT
    InitialDirContext.<init>
    1. com.sun.jndi.ldap.Connection.createSocket(Connection.java:376)
    2. com.sun.jndi.ldap.Connection.<init>(Connection.java:203)
    3. com.sun.jndi.ldap.LdapClient.<init>(LdapClient.java:137)
    4. com.sun.jndi.ldap.LdapClient.getInstance(LdapClient.java:1613)
    5. com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2746)
    6. com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:319)
    7. com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:192)
    8. com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:210)
    9. com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:153)
    10. com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:83)
    11. javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:684)
    12. javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:313)
    13. javax.naming.InitialContext.init(InitialContext.java:244)
    14. javax.naming.InitialContext.<init>(InitialContext.java:216)
    15. javax.naming.directory.InitialDirContext.<init>(InitialDirContext.java:101)
    15 frames
  5. org.wso2.carbon
    ActiveDirectoryUserStoreManager.<init>
    1. org.wso2.carbon.user.core.ldap.LDAPConnectionContext.getContext(LDAPConnectionContext.java:167)
    2. org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager.<init>(ReadOnlyLDAPUserStoreManager.java:156)
    3. org.wso2.carbon.user.core.ldap.ReadWriteLDAPUserStoreManager.<init>(ReadWriteLDAPUserStoreManager.java:100)
    4. org.wso2.carbon.user.core.ldap.ActiveDirectoryUserStoreManager.<init>(ActiveDirectoryUserStoreManager.java:85)
    4 frames
  6. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:422)
    4 frames
  7. org.wso2.carbon
    UserStoreConfigurationDeployer.deploy
    1. org.wso2.carbon.user.core.common.AbstractUserStoreManager.createSecondaryUserStoreManager(AbstractUserStoreManager.java:3551)
    2. org.wso2.carbon.user.core.common.AbstractUserStoreManager.addSecondaryUserStoreManager(AbstractUserStoreManager.java:3607)
    3. org.wso2.carbon.user.core.common.UserStoreDeploymentManager.deploy(UserStoreDeploymentManager.java:74)
    4. org.wso2.carbon.identity.user.store.configuration.deployer.UserStoreConfigurationDeployer.deploy(UserStoreConfigurationDeployer.java:164)
    4 frames
  8. org.apache.axis2
    SchedulerTask.run
    1. org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
    2. org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:807)
    3. org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
    4. org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:377)
    5. org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)
    6. org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:371)
    7. org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:59)
    8. org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:67)
    8 frames
  9. org.wso2.carbon
    CarbonDeploymentSchedulerTask.run
    1. org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.runAxisDeployment(CarbonDeploymentSchedulerTask.java:93)
    2. org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(CarbonDeploymentSchedulerTask.java:138)
    2 frames
  10. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    2. java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
    3. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
    4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
    5. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    6. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    7. java.lang.Thread.run(Thread.java:745)
    7 frames