java.lang.RuntimeException: Failed while invoking URL https://<server>:8443/plugins/servlet/artifactoryAdminConfigServlet?planKey=NA-P2AC-JOB1 to get Bamboo variables. sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

JFrog JIRA | Derek Pilat | 1 year ago
  1. 0

    bamboo artifactory plugin 1.8.1, Bamboo 5.9.3 and Artifactory 3.9.2 When running either Artifactory maven 3 or Artifactory generic deploy tasks. Starting task 'Artifactory Generic Deploy' of type 'org.jfrog.bamboo.bamboo-artifactory-plugin:artifactoryGenericTask' error 21-Aug-2015 11:46:10 Exception occurred while executing task error 21-Aug-2015 11:46:10 java.lang.RuntimeException: Failed while invoking URL https://<server>:8443/plugins/servlet/artifactoryAdminConfigServlet?planKey=NA-P2AC-JOB1 to get Bamboo variables. sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target error 21-Aug-2015 11:46:10 at org.jfrog.bamboo.configuration.ConfigurationHelper.getAllVariables(ConfigurationHelper.java:75) error 21-Aug-2015 11:46:10 at org.jfrog.bamboo.builder.BaseBuildInfoHelper.filterAndGetGlobalVariables(BaseBuildInfoHelper.java:119) error 21-Aug-2015 11:46:10 at org.jfrog.bamboo.util.generic.GenericBuildInfoHelper.extractBuildInfo(GenericBuildInfoHelper.java:89) error 21-Aug-2015 11:46:10 at org.jfrog.bamboo.task.ArtifactoryGenericDeployTask.deploy(ArtifactoryGenericDeployTask.java:160) error 21-Aug-2015 11:46:10 at org.jfrog.bamboo.task.ArtifactoryGenericDeployTask.execute(ArtifactoryGenericDeployTask.java:90) error 21-Aug-2015 11:46:10 at com.atlassian.bamboo.task.TaskExecutorImpl$2.call(TaskExecutorImpl.java:278) error 21-Aug-2015 11:46:10 at com.atlassian.bamboo.task.TaskExecutorImpl$2.call(TaskExecutorImpl.java:274) error 21-Aug-2015 11:46:10 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(TaskExecutorImpl.java:200) error 21-Aug-2015 11:46:10 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:274) error 21-Aug-2015 11:46:10 at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:110) error 21-Aug-2015 11:46:10 at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:75) error 21-Aug-2015 11:46:10 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:196) error 21-Aug-2015 11:46:10 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:124) error 21-Aug-2015 11:46:10 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:115) error 21-Aug-2015 11:46:10 at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:215) error 21-Aug-2015 11:46:10 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:114) error 21-Aug-2015 11:46:10 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:118) error 21-Aug-2015 11:46:10 at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49) error 21-Aug-2015 11:46:10 at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31) error 21-Aug-2015 11:46:10 at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20) error 21-Aug-2015 11:46:10 at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52) error 21-Aug-2015 11:46:10 at java.lang.Thread.run(Thread.java:745) error 21-Aug-2015 11:46:10 Caused by: 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 error 21-Aug-2015 11:46:10 at sun.security.ssl.Alerts.getSSLException(Alerts.java:192) error 21-Aug-2015 11:46:10 at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1937) error 21-Aug-2015 11:46:10 at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:302) error 21-Aug-2015 11:46:10 at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:296) error 21-Aug-2015 11:46:10 at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1478) error 21-Aug-2015 11:46:10 at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:212) error 21-Aug-2015 11:46:10 at sun.security.ssl.Handshaker.processLoop(Handshaker.java:957) error 21-Aug-2015 11:46:10 at sun.security.ssl.Handshaker.process_record(Handshaker.java:892) error 21-Aug-2015 11:46:10 at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1050) error 21-Aug-2015 11:46:10 at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1363) error 21-Aug-2015 11:46:10 at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:735) error 21-Aug-2015 11:46:10 at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:123) error 21-Aug-2015 11:46:10 at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82) error 21-Aug-2015 11:46:10 at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140) error 21-Aug-2015 11:46:10 at org.apache.commons.httpclient.HttpConnection.flushRequestOutputStream(HttpConnection.java:827) error 21-Aug-2015 11:46:10 at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:1975) error 21-Aug-2015 11:46:10 at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:993) error 21-Aug-2015 11:46:10 at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:397) error 21-Aug-2015 11:46:10 at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170) error 21-Aug-2015 11:46:10 at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396) error 21-Aug-2015 11:46:10 at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324) error 21-Aug-2015 11:46:10 at org.jfrog.bamboo.configuration.ConfigurationHelper.executeMethod(ConfigurationHelper.java:110) error 21-Aug-2015 11:46:10 at org.jfrog.bamboo.configuration.ConfigurationHelper.getAllVariables(ConfigurationHelper.java:60) error 21-Aug-2015 11:46:10 ... 21 more error 21-Aug-2015 11:46:10 Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target error 21-Aug-2015 11:46:10 at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:387) error 21-Aug-2015 11:46:10 at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:292) error 21-Aug-2015 11:46:10 at sun.security.validator.Validator.validate(Validator.java:260) error 21-Aug-2015 11:46:10 at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:324) error 21-Aug-2015 11:46:10 at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:229) error 21-Aug-2015 11:46:10 at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124) error 21-Aug-2015 11:46:10 at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1460) error 21-Aug-2015 11:46:10 ... 39 more error 21-Aug-2015 11:46:10 Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target error 21-Aug-2015 11:46:10 at sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:145) error 21-Aug-2015 11:46:10 at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:131) error 21-Aug-2015 11:46:10 at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:280) error 21-Aug-2015 11:46:10 at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:382) error 21-Aug-2015 11:46:10 ... 45 more simple 21-Aug-2015 11:46:10 Finished task 'Artifactory Generic Deploy' with result: Error simple 21-Aug-2015 10:41:00 Starting task 'Artifactory Maven 3' of type 'org.jfrog.bamboo.bamboo-artifactory-plugin:maven3Task' error 21-Aug-2015 10:41:00 Error occurred while preparing Artifactory Maven Runner dependencies. Build Info support is disabled: Failed while invoking URL: https://<server>:8443/download/resources/org.jfrog.bamboo.bamboo-artifactory-plugin/builder/dependencies/build-info-extractor-maven3-2.5.0-uber.jar sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target error 21-Aug-2015 10:41:00 Error occurred while running Task '(2)' of type org.jfrog.bamboo.bamboo-artifactory-plugin:maven3Task. error 21-Aug-2015 10:41:00 java.lang.RuntimeException: Failed while invoking URL https://<server>:8443/plugins/servlet/artifactoryAdminConfigServlet?planKey=NA-P2AC-JOB1 to get Bamboo variables. sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target error 21-Aug-2015 10:41:00 at org.jfrog.bamboo.configuration.ConfigurationHelper.getAllVariables(ConfigurationHelper.java:75) error 21-Aug-2015 10:41:00 at org.jfrog.bamboo.configuration.ConfigurationHelper.getBuildJdkOverride(ConfigurationHelper.java:43) error 21-Aug-2015 10:41:00 at org.jfrog.bamboo.task.ArtifactoryTaskType.getConfiguredJdkPath(ArtifactoryTaskType.java:85) error 21-Aug-2015 10:41:00 at org.jfrog.bamboo.task.ArtifactoryMaven3Task.getExecutable(ArtifactoryMaven3Task.java:147) error 21-Aug-2015 10:41:00 at org.jfrog.bamboo.task.ArtifactoryMaven3Task.getCommand(ArtifactoryMaven3Task.java:185) error 21-Aug-2015 10:41:00 at org.jfrog.bamboo.task.ArtifactoryMaven3Task.execute(ArtifactoryMaven3Task.java:104) error 21-Aug-2015 10:41:00 at com.atlassian.bamboo.task.TaskExecutorImpl$2.call(TaskExecutorImpl.java:278) error 21-Aug-2015 10:41:00 at com.atlassian.bamboo.task.TaskExecutorImpl$2.call(TaskExecutorImpl.java:274) error 21-Aug-2015 10:41:00 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(TaskExecutorImpl.java:200) error 21-Aug-2015 10:41:00 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:274) error 21-Aug-2015 10:41:00 at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:106) error 21-Aug-2015 10:41:00 at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:75) error 21-Aug-2015 10:41:00 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:196) error 21-Aug-2015 10:41:00 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:124) error 21-Aug-2015 10:41:00 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:115) error 21-Aug-2015 10:41:00 at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:215) error 21-Aug-2015 10:41:00 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:114) error 21-Aug-2015 10:41:00 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:118) error 21-Aug-2015 10:41:00 at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49) error 21-Aug-2015 10:41:00 at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31) error 21-Aug-2015 10:41:00 at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20) error 21-Aug-2015 10:41:00 at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52) error 21-Aug-2015 10:41:00 at java.lang.Thread.run(Thread.java:745) error 21-Aug-2015 10:41:00 Caused by: 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 error 21-Aug-2015 10:41:00 at sun.security.ssl.Alerts.getSSLException(Alerts.java:192) error 21-Aug-2015 10:41:00 at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1937) error 21-Aug-2015 10:41:00 at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:302) error 21-Aug-2015 10:41:00 at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:296) error 21-Aug-2015 10:41:00 at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1478) error 21-Aug-2015 10:41:00 at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:212) error 21-Aug-2015 10:41:00 at sun.security.ssl.Handshaker.processLoop(Handshaker.java:957) error 21-Aug-2015 10:41:00 at sun.security.ssl.Handshaker.process_record(Handshaker.java:892) error 21-Aug-2015 10:41:00 at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1050) error 21-Aug-2015 10:41:00 at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1363) error 21-Aug-2015 10:41:00 at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:735) error 21-Aug-2015 10:41:00 at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:123) error 21-Aug-2015 10:41:00 at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82) error 21-Aug-2015 10:41:00 at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140) error 21-Aug-2015 10:41:00 at org.apache.commons.httpclient.HttpConnection.flushRequestOutputStream(HttpConnection.java:827) error 21-Aug-2015 10:41:00 at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:1975) error 21-Aug-2015 10:41:00 at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:993) error 21-Aug-2015 10:41:00 at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:397) error 21-Aug-2015 10:41:00 at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170) error 21-Aug-2015 10:41:00 at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396) error 21-Aug-2015 10:41:00 at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324) error 21-Aug-2015 10:41:00 at org.jfrog.bamboo.configuration.ConfigurationHelper.executeMethod(ConfigurationHelper.java:110) error 21-Aug-2015 10:41:00 at org.jfrog.bamboo.configuration.ConfigurationHelper.getAllVariables(ConfigurationHelper.java:60) error 21-Aug-2015 10:41:00 ... 22 more error 21-Aug-2015 10:41:00 Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target error 21-Aug-2015 10:41:00 at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:387) error 21-Aug-2015 10:41:00 at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:292) error 21-Aug-2015 10:41:00 at sun.security.validator.Validator.validate(Validator.java:260) error 21-Aug-2015 10:41:00 at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:324) error 21-Aug-2015 10:41:00 at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:229) error 21-Aug-2015 10:41:00 at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124) error 21-Aug-2015 10:41:00 at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1460) error 21-Aug-2015 10:41:00 ... 40 more error 21-Aug-2015 10:41:00 Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target error 21-Aug-2015 10:41:00 at sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:145) error 21-Aug-2015 10:41:00 at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:131) error 21-Aug-2015 10:41:00 at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:280) error 21-Aug-2015 10:41:00 at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:382) error 21-Aug-2015 10:41:00 ... 46 more simple 21-Aug-2015 10:41:00 Running post build plugin 'Artifactory Release Management Staging'

    JFrog JIRA | 1 year ago | Derek Pilat
    java.lang.RuntimeException: Failed while invoking URL https://<server>:8443/plugins/servlet/artifactoryAdminConfigServlet?planKey=NA-P2AC-JOB1 to get Bamboo variables. sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
  2. 0

    bamboo artifactory plugin 1.8.1, Bamboo 5.9.3 and Artifactory 3.9.2 When running either Artifactory maven 3 or Artifactory generic deploy tasks. Starting task 'Artifactory Generic Deploy' of type 'org.jfrog.bamboo.bamboo-artifactory-plugin:artifactoryGenericTask' error 21-Aug-2015 11:46:10 Exception occurred while executing task error 21-Aug-2015 11:46:10 java.lang.RuntimeException: Failed while invoking URL https://<server>:8443/plugins/servlet/artifactoryAdminConfigServlet?planKey=NA-P2AC-JOB1 to get Bamboo variables. sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target error 21-Aug-2015 11:46:10 at org.jfrog.bamboo.configuration.ConfigurationHelper.getAllVariables(ConfigurationHelper.java:75) error 21-Aug-2015 11:46:10 at org.jfrog.bamboo.builder.BaseBuildInfoHelper.filterAndGetGlobalVariables(BaseBuildInfoHelper.java:119) error 21-Aug-2015 11:46:10 at org.jfrog.bamboo.util.generic.GenericBuildInfoHelper.extractBuildInfo(GenericBuildInfoHelper.java:89) error 21-Aug-2015 11:46:10 at org.jfrog.bamboo.task.ArtifactoryGenericDeployTask.deploy(ArtifactoryGenericDeployTask.java:160) error 21-Aug-2015 11:46:10 at org.jfrog.bamboo.task.ArtifactoryGenericDeployTask.execute(ArtifactoryGenericDeployTask.java:90) error 21-Aug-2015 11:46:10 at com.atlassian.bamboo.task.TaskExecutorImpl$2.call(TaskExecutorImpl.java:278) error 21-Aug-2015 11:46:10 at com.atlassian.bamboo.task.TaskExecutorImpl$2.call(TaskExecutorImpl.java:274) error 21-Aug-2015 11:46:10 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(TaskExecutorImpl.java:200) error 21-Aug-2015 11:46:10 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:274) error 21-Aug-2015 11:46:10 at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:110) error 21-Aug-2015 11:46:10 at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:75) error 21-Aug-2015 11:46:10 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:196) error 21-Aug-2015 11:46:10 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:124) error 21-Aug-2015 11:46:10 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:115) error 21-Aug-2015 11:46:10 at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:215) error 21-Aug-2015 11:46:10 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:114) error 21-Aug-2015 11:46:10 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:118) error 21-Aug-2015 11:46:10 at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49) error 21-Aug-2015 11:46:10 at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31) error 21-Aug-2015 11:46:10 at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20) error 21-Aug-2015 11:46:10 at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52) error 21-Aug-2015 11:46:10 at java.lang.Thread.run(Thread.java:745) error 21-Aug-2015 11:46:10 Caused by: 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 error 21-Aug-2015 11:46:10 at sun.security.ssl.Alerts.getSSLException(Alerts.java:192) error 21-Aug-2015 11:46:10 at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1937) error 21-Aug-2015 11:46:10 at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:302) error 21-Aug-2015 11:46:10 at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:296) error 21-Aug-2015 11:46:10 at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1478) error 21-Aug-2015 11:46:10 at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:212) error 21-Aug-2015 11:46:10 at sun.security.ssl.Handshaker.processLoop(Handshaker.java:957) error 21-Aug-2015 11:46:10 at sun.security.ssl.Handshaker.process_record(Handshaker.java:892) error 21-Aug-2015 11:46:10 at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1050) error 21-Aug-2015 11:46:10 at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1363) error 21-Aug-2015 11:46:10 at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:735) error 21-Aug-2015 11:46:10 at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:123) error 21-Aug-2015 11:46:10 at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82) error 21-Aug-2015 11:46:10 at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140) error 21-Aug-2015 11:46:10 at org.apache.commons.httpclient.HttpConnection.flushRequestOutputStream(HttpConnection.java:827) error 21-Aug-2015 11:46:10 at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:1975) error 21-Aug-2015 11:46:10 at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:993) error 21-Aug-2015 11:46:10 at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:397) error 21-Aug-2015 11:46:10 at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170) error 21-Aug-2015 11:46:10 at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396) error 21-Aug-2015 11:46:10 at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324) error 21-Aug-2015 11:46:10 at org.jfrog.bamboo.configuration.ConfigurationHelper.executeMethod(ConfigurationHelper.java:110) error 21-Aug-2015 11:46:10 at org.jfrog.bamboo.configuration.ConfigurationHelper.getAllVariables(ConfigurationHelper.java:60) error 21-Aug-2015 11:46:10 ... 21 more error 21-Aug-2015 11:46:10 Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target error 21-Aug-2015 11:46:10 at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:387) error 21-Aug-2015 11:46:10 at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:292) error 21-Aug-2015 11:46:10 at sun.security.validator.Validator.validate(Validator.java:260) error 21-Aug-2015 11:46:10 at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:324) error 21-Aug-2015 11:46:10 at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:229) error 21-Aug-2015 11:46:10 at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124) error 21-Aug-2015 11:46:10 at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1460) error 21-Aug-2015 11:46:10 ... 39 more error 21-Aug-2015 11:46:10 Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target error 21-Aug-2015 11:46:10 at sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:145) error 21-Aug-2015 11:46:10 at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:131) error 21-Aug-2015 11:46:10 at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:280) error 21-Aug-2015 11:46:10 at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:382) error 21-Aug-2015 11:46:10 ... 45 more simple 21-Aug-2015 11:46:10 Finished task 'Artifactory Generic Deploy' with result: Error simple 21-Aug-2015 10:41:00 Starting task 'Artifactory Maven 3' of type 'org.jfrog.bamboo.bamboo-artifactory-plugin:maven3Task' error 21-Aug-2015 10:41:00 Error occurred while preparing Artifactory Maven Runner dependencies. Build Info support is disabled: Failed while invoking URL: https://<server>:8443/download/resources/org.jfrog.bamboo.bamboo-artifactory-plugin/builder/dependencies/build-info-extractor-maven3-2.5.0-uber.jar sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target error 21-Aug-2015 10:41:00 Error occurred while running Task '(2)' of type org.jfrog.bamboo.bamboo-artifactory-plugin:maven3Task. error 21-Aug-2015 10:41:00 java.lang.RuntimeException: Failed while invoking URL https://<server>:8443/plugins/servlet/artifactoryAdminConfigServlet?planKey=NA-P2AC-JOB1 to get Bamboo variables. sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target error 21-Aug-2015 10:41:00 at org.jfrog.bamboo.configuration.ConfigurationHelper.getAllVariables(ConfigurationHelper.java:75) error 21-Aug-2015 10:41:00 at org.jfrog.bamboo.configuration.ConfigurationHelper.getBuildJdkOverride(ConfigurationHelper.java:43) error 21-Aug-2015 10:41:00 at org.jfrog.bamboo.task.ArtifactoryTaskType.getConfiguredJdkPath(ArtifactoryTaskType.java:85) error 21-Aug-2015 10:41:00 at org.jfrog.bamboo.task.ArtifactoryMaven3Task.getExecutable(ArtifactoryMaven3Task.java:147) error 21-Aug-2015 10:41:00 at org.jfrog.bamboo.task.ArtifactoryMaven3Task.getCommand(ArtifactoryMaven3Task.java:185) error 21-Aug-2015 10:41:00 at org.jfrog.bamboo.task.ArtifactoryMaven3Task.execute(ArtifactoryMaven3Task.java:104) error 21-Aug-2015 10:41:00 at com.atlassian.bamboo.task.TaskExecutorImpl$2.call(TaskExecutorImpl.java:278) error 21-Aug-2015 10:41:00 at com.atlassian.bamboo.task.TaskExecutorImpl$2.call(TaskExecutorImpl.java:274) error 21-Aug-2015 10:41:00 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(TaskExecutorImpl.java:200) error 21-Aug-2015 10:41:00 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:274) error 21-Aug-2015 10:41:00 at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:106) error 21-Aug-2015 10:41:00 at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:75) error 21-Aug-2015 10:41:00 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:196) error 21-Aug-2015 10:41:00 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:124) error 21-Aug-2015 10:41:00 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:115) error 21-Aug-2015 10:41:00 at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:215) error 21-Aug-2015 10:41:00 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:114) error 21-Aug-2015 10:41:00 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:118) error 21-Aug-2015 10:41:00 at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49) error 21-Aug-2015 10:41:00 at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31) error 21-Aug-2015 10:41:00 at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20) error 21-Aug-2015 10:41:00 at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52) error 21-Aug-2015 10:41:00 at java.lang.Thread.run(Thread.java:745) error 21-Aug-2015 10:41:00 Caused by: 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 error 21-Aug-2015 10:41:00 at sun.security.ssl.Alerts.getSSLException(Alerts.java:192) error 21-Aug-2015 10:41:00 at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1937) error 21-Aug-2015 10:41:00 at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:302) error 21-Aug-2015 10:41:00 at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:296) error 21-Aug-2015 10:41:00 at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1478) error 21-Aug-2015 10:41:00 at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:212) error 21-Aug-2015 10:41:00 at sun.security.ssl.Handshaker.processLoop(Handshaker.java:957) error 21-Aug-2015 10:41:00 at sun.security.ssl.Handshaker.process_record(Handshaker.java:892) error 21-Aug-2015 10:41:00 at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1050) error 21-Aug-2015 10:41:00 at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1363) error 21-Aug-2015 10:41:00 at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:735) error 21-Aug-2015 10:41:00 at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:123) error 21-Aug-2015 10:41:00 at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82) error 21-Aug-2015 10:41:00 at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140) error 21-Aug-2015 10:41:00 at org.apache.commons.httpclient.HttpConnection.flushRequestOutputStream(HttpConnection.java:827) error 21-Aug-2015 10:41:00 at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:1975) error 21-Aug-2015 10:41:00 at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:993) error 21-Aug-2015 10:41:00 at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:397) error 21-Aug-2015 10:41:00 at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170) error 21-Aug-2015 10:41:00 at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396) error 21-Aug-2015 10:41:00 at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324) error 21-Aug-2015 10:41:00 at org.jfrog.bamboo.configuration.ConfigurationHelper.executeMethod(ConfigurationHelper.java:110) error 21-Aug-2015 10:41:00 at org.jfrog.bamboo.configuration.ConfigurationHelper.getAllVariables(ConfigurationHelper.java:60) error 21-Aug-2015 10:41:00 ... 22 more error 21-Aug-2015 10:41:00 Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target error 21-Aug-2015 10:41:00 at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:387) error 21-Aug-2015 10:41:00 at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:292) error 21-Aug-2015 10:41:00 at sun.security.validator.Validator.validate(Validator.java:260) error 21-Aug-2015 10:41:00 at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:324) error 21-Aug-2015 10:41:00 at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:229) error 21-Aug-2015 10:41:00 at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124) error 21-Aug-2015 10:41:00 at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1460) error 21-Aug-2015 10:41:00 ... 40 more error 21-Aug-2015 10:41:00 Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target error 21-Aug-2015 10:41:00 at sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:145) error 21-Aug-2015 10:41:00 at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:131) error 21-Aug-2015 10:41:00 at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:280) error 21-Aug-2015 10:41:00 at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:382) error 21-Aug-2015 10:41:00 ... 46 more simple 21-Aug-2015 10:41:00 Running post build plugin 'Artifactory Release Management Staging'

    JFrog JIRA | 1 year ago | Derek Pilat
    java.lang.RuntimeException: Failed while invoking URL https://<server>:8443/plugins/servlet/artifactoryAdminConfigServlet?planKey=NA-P2AC-JOB1 to get Bamboo variables. sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
  3. 0

    How to handle invalid SSL certificates with Apache HttpClient?

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

    E-FilesDownload fails to download file using HTTPS with invalid certificate

    GitHub | 2 years ago | jakubklimek
    files.eu.unifiedviews.dpu.DPUException: Exception occured while downloading files.
  6. 0

    Intermittent errors

    Google Groups | 5 years ago | David Clark
    org.jets3t.service.S3ServiceException: Request Error. PUT '/00000001000000EF00000032' on Host '0jznp8rbhc632tq2ny82.wal.s3.amazonaws.com'

  1. Andreas Häber 8 times, last 3 weeks ago
  2. tvrmsmith 4 times, last 2 months ago
  3. Dore 1 times, last 3 months ago
  4. andyglick 17 times, last 2 months ago
  5. davidvanlaatum 10 times, last 4 months 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:145)
    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
    AppOutputStream.write
    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:1460)
    5. sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:212)
    6. sun.security.ssl.Handshaker.processLoop(Handshaker.java:957)
    7. sun.security.ssl.Handshaker.process_record(Handshaker.java:892)
    8. sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1050)
    9. sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1363)
    10. sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:735)
    11. sun.security.ssl.AppOutputStream.write(AppOutputStream.java:123)
    11 frames
  4. Java RT
    BufferedOutputStream.flush
    1. java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
    2. java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
    2 frames
  5. HttpClient
    HttpClient.executeMethod
    1. org.apache.commons.httpclient.HttpConnection.flushRequestOutputStream(HttpConnection.java:827)
    2. org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:1975)
    3. org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:993)
    4. org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:397)
    5. org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)
    6. org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
    7. org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324)
    7 frames
  6. org.jfrog.bamboo
    ArtifactoryMaven3Task.execute
    1. org.jfrog.bamboo.configuration.ConfigurationHelper.executeMethod(ConfigurationHelper.java:110)
    2. org.jfrog.bamboo.configuration.ConfigurationHelper.getAllVariables(ConfigurationHelper.java:60)
    3. org.jfrog.bamboo.configuration.ConfigurationHelper.getBuildJdkOverride(ConfigurationHelper.java:43)
    4. org.jfrog.bamboo.task.ArtifactoryTaskType.getConfiguredJdkPath(ArtifactoryTaskType.java:85)
    5. org.jfrog.bamboo.task.ArtifactoryMaven3Task.getExecutable(ArtifactoryMaven3Task.java:147)
    6. org.jfrog.bamboo.task.ArtifactoryMaven3Task.getCommand(ArtifactoryMaven3Task.java:185)
    7. org.jfrog.bamboo.task.ArtifactoryMaven3Task.execute(ArtifactoryMaven3Task.java:104)
    7 frames
  7. com.atlassian.bamboo
    ImpersonationHelper$1.run
    1. com.atlassian.bamboo.task.TaskExecutorImpl$2.call(TaskExecutorImpl.java:278)
    2. com.atlassian.bamboo.task.TaskExecutorImpl$2.call(TaskExecutorImpl.java:274)
    3. com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(TaskExecutorImpl.java:200)
    4. com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:274)
    5. com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:106)
    6. com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:75)
    7. com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:196)
    8. com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:124)
    9. com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:115)
    10. com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:215)
    11. com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:114)
    12. com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:118)
    13. com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49)
    14. com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31)
    15. com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20)
    16. com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52)
    16 frames
  8. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame