javax.net.ssl.SSLHandshakeException

tip

Set the 'mail.smtp.ssl.trust' system property to an smtp host, like 'smtp.gmail.com'.

tip

If you're using wiremock, configure your code to accept wiremock self-signed certificate or create a keystore and certificate that are trusted by your HTTP client and configure wiremock to use that


rafaelrafael

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • Enter proxy settings in update manager Fetching changes from the remote Git repository Fetching upstream changes from https://git.opendaylight.org/gerrit/p/controller.git FATAL: Failed to fetch from https://git.opendaylight.org/gerrit/p/controller.git hudson.plugins.git.GitException: Failed to fetch from https://git.opendaylight.org/gerrit/p/controller.git at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:612) at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:836) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:861) at hudson.model.AbstractProject.checkout(AbstractProject.java:1414) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:652) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:561) at hudson.model.Run.execute(Run.java:1678) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:519) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:231) Caused by: hudson.plugins.git.GitException: Failed to connect to https://git.opendaylight.org/gerrit/p/controller.git at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.checkCredentials(CliGitAPIImpl.java:1614) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:974) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$200(CliGitAPIImpl.java:69) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:218) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.fetch(CliGitAPIImpl.java:224) at hudson.plugins.git.GitAPI.fetch(GitAPI.java:229) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:299) at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:280) at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:239) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:328) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) ------------------------- in validate proxy, Test URL : https://git.opendaylight.org/gerrit/p/controller.git 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 at sun.security.ssl.Alerts.getSSLException(Alerts.java:192) at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1886) at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:276) at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:270) at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1341) at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:153) at sun.security.ssl.Handshaker.processLoop(Handshaker.java:868) at sun.security.ssl.Handshaker.process_record(Handshaker.java:804) at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1016) at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1312) at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:702) at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:122) at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82) at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140) at org.apache.commons.httpclient.HttpConnection.flushRequestOutputStream(HttpConnection.java:828) at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2116) at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1096) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323) at hudson.ProxyConfiguration$DescriptorImpl.doValidateProxy(ProxyConfiguration.java:321) at sun.reflect.GeneratedMethodAccessor897.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:298) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:161) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:96) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:120) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:728) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:858) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:248) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:728) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:858) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:631) at org.kohsuke.stapler.Stapler.service(Stapler.java:225) at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:686) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1494) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:96) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:88) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:48) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:174) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at jenkins.security.ApiTokenFilter.doFilter(ApiTokenFilter.java:64) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:67) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482) at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:46) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1474) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:499) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:533) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) at org.eclipse.jetty.server.Server.handle(Server.java:370) at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489) at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:960) at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1021) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240) at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52) at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:722) Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:385) at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:292) at sun.security.validator.Validator.validate(Validator.java:260) at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:326) at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:231) at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:126) at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1323) ... 89 more Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:196) at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:268) at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:380) ... 95 more
    via by ping he,
  • Enter proxy settings in update manager Fetching changes from the remote Git repository Fetching upstream changes from https://git.opendaylight.org/gerrit/p/controller.git FATAL: Failed to fetch from https://git.opendaylight.org/gerrit/p/controller.git hudson.plugins.git.GitException: Failed to fetch from https://git.opendaylight.org/gerrit/p/controller.git at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:612) at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:836) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:861) at hudson.model.AbstractProject.checkout(AbstractProject.java:1414) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:652) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:561) at hudson.model.Run.execute(Run.java:1678) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:519) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:231) Caused by: hudson.plugins.git.GitException: Failed to connect to https://git.opendaylight.org/gerrit/p/controller.git at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.checkCredentials(CliGitAPIImpl.java:1614) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:974) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$200(CliGitAPIImpl.java:69) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:218) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.fetch(CliGitAPIImpl.java:224) at hudson.plugins.git.GitAPI.fetch(GitAPI.java:229) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:299) at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:280) at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:239) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:328) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) ------------------------- in validate proxy, Test URL : https://git.opendaylight.org/gerrit/p/controller.git 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 at sun.security.ssl.Alerts.getSSLException(Alerts.java:192) at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1886) at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:276) at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:270) at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1341) at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:153) at sun.security.ssl.Handshaker.processLoop(Handshaker.java:868) at sun.security.ssl.Handshaker.process_record(Handshaker.java:804) at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1016) at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1312) at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:702) at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:122) at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82) at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140) at org.apache.commons.httpclient.HttpConnection.flushRequestOutputStream(HttpConnection.java:828) at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2116) at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1096) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323) at hudson.ProxyConfiguration$DescriptorImpl.doValidateProxy(ProxyConfiguration.java:321) at sun.reflect.GeneratedMethodAccessor897.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:298) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:161) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:96) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:120) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:728) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:858) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:248) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:728) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:858) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:631) at org.kohsuke.stapler.Stapler.service(Stapler.java:225) at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:686) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1494) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:96) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:88) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:48) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:174) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at jenkins.security.ApiTokenFilter.doFilter(ApiTokenFilter.java:64) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:67) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482) at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:46) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1474) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:499) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:533) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) at org.eclipse.jetty.server.Server.handle(Server.java:370) at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489) at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:960) at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1021) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240) at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52) at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:722) Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:385) at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:292) at sun.security.validator.Validator.validate(Validator.java:260) at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:326) at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:231) at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:126) at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1323) ... 89 more Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:196) at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:268) at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:380) ... 95 more
    via by ping he,
  • Intermittent errors
    via by David Clark,
  • 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'
    via by Derek Pilat,
  • 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'
    via by Derek Pilat,
  • Jenkins configured to automatically download and install Java from standard download source. 17:10:07 Installing JDK jdk-8u102-oth-JPR 17:10:07 Downloading JDK from http://download.oracle.com/otn-pub/java/jdk/8u102-b14/jdk-8u102-windows-x64.exe 17:10:07 ERROR: SEVERE ERROR occurs 17:10:07 org.jenkinsci.lib.envinject.EnvInjectException: 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 17:10:07 at org.jenkinsci.plugins.envinject.service.EnvInjectVariableGetter.getBuildVariables(EnvInjectVariableGetter.java:91) 17:10:07 at org.jenkinsci.plugins.envinject.EnvInjectListener.setUpEnvironmentWithoutJobPropertyObject(EnvInjectListener.java:233) 17:10:07 at org.jenkinsci.plugins.envinject.EnvInjectListener.setUpEnvironment(EnvInjectListener.java:46) 17:10:07 at hudson.model.AbstractBuild$AbstractBuildExecution.createLauncher(AbstractBuild.java:572) 17:10:07 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:492) 17:10:07 at hudson.model.Run.execute(Run.java:1720) 17:10:07 at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531) 17:10:07 at hudson.model.ResourceController.execute(ResourceController.java:98) 17:10:07 at hudson.model.Executor.run(Executor.java:404) 17:10:07 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 17:10:07 at sun.security.ssl.Alerts.getSSLException(Alerts.java:192) 17:10:07 at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1949) 17:10:07 at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:302) 17:10:07 at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:296) 17:10:07 at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1509) 17:10:07 at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:216) 17:10:07 at sun.security.ssl.Handshaker.processLoop(Handshaker.java:979) 17:10:07 at sun.security.ssl.Handshaker.process_record(Handshaker.java:914) 17:10:07 at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1062) 17:10:07 at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375) 17:10:07 at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:747) 17:10:07 at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:123) 17:10:07 at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82) 17:10:07 at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140) 17:10:07 at org.apache.commons.httpclient.HttpConnection.flushRequestOutputStream(HttpConnection.java:828) 17:10:07 at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2116) 17:10:07 at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1096) 17:10:07 at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398) 17:10:07 at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) 17:10:07 at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) 17:10:07 at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323) 17:10:07 at hudson.tools.JDKInstaller.locate(JDKInstaller.java:470) 17:10:07 at hudson.tools.JDKInstaller.performInstallation(JDKInstaller.java:137) 17:10:07 at hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:68) 17:10:07 at hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:109) 17:10:07 at hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:206) 17:10:07 at hudson.model.JDK.forNode(JDK.java:144) 17:10:07 at org.jenkinsci.plugins.envinject.service.EnvInjectVariableGetter.getBuildVariables(EnvInjectVariableGetter.java:86) 17:10:07 ... 8 more 17:10:07 Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target 17:10:07 at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:387) 17:10:07 at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:292) 17:10:07 at sun.security.validator.Validator.validate(Validator.java:260) 17:10:07 at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:324) 17:10:07 at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:229) 17:10:07 at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124) 17:10:07 at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1491) 17:10:07 ... 31 more 17:10:07 Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target 17:10:07 at sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:141) 17:10:07 at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:126) 17:10:07 at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:280) 17:10:07 at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:382) 17:10:07 ... 37 more
    via by Jesper Jensen,
  • Currently the REST client builder does not allow self-signed SSL certs. Would like a checkbox so that we do not have to create a keystore with all valid certs in it. Here is an example exception. I verified that the URL works with "curl --insecure https://theurl". 2016/07/23 07:22:05 - REST Client.0 - ERROR (version 6.1.0.1-196, build 1 from 2016-04-07 12.08.49 by buildguy) : Because of an error, this step can't continue: 2016/07/23 07:22:05 - REST Client.0 - Can not result from [https://localhost:8443/BabysDigest-1.0/rest/v1/bd-user/find/mike] 2016/07/23 07:22:05 - REST Client.0 - 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 2016/07/23 07:22:05 - REST Client.0 - ERROR (version 6.1.0.1-196, build 1 from 2016-04-07 12.08.49 by buildguy) : org.pentaho.di.core.exception.KettleException: 2016/07/23 07:22:05 - REST Client.0 - Can not result from [https://localhost:8443/BabysDigest-1.0/rest/v1/bd-user/find/mike] 2016/07/23 07:22:05 - REST Client.0 - 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 2016/07/23 07:22:05 - REST Client.0 - 2016/07/23 07:22:05 - REST Client.0 - at org.pentaho.di.trans.steps.rest.Rest.callRest(Rest.java:229) 2016/07/23 07:22:05 - REST Client.0 - at org.pentaho.di.trans.steps.rest.Rest.processRow(Rest.java:449) 2016/07/23 07:22:05 - REST Client.0 - at org.pentaho.di.trans.step.RunThread.run(RunThread.java:62) 2016/07/23 07:22:05 - REST Client.0 - at java.lang.Thread.run(Thread.java:745) 2016/07/23 07:22:05 - REST Client.0 - Caused by: com.sun.jersey.api.client.ClientHandlerException: 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 2016/07/23 07:22:05 - REST Client.0 - at com.sun.jersey.client.apache.DefaultApacheHttpMethodExecutor.executeMethod(DefaultApacheHttpMethodExecutor.java:213) 2016/07/23 07:22:05 - REST Client.0 - at com.sun.jersey.client.apache.ApacheHttpClientHandler.handle(ApacheHttpClientHandler.java:175) 2016/07/23 07:22:05 - REST Client.0 - at com.sun.jersey.api.client.filter.HTTPBasicAuthFilter.handle(HTTPBasicAuthFilter.java:104) 2016/07/23 07:22:05 - REST Client.0 - at com.sun.jersey.api.client.Client.handle(Client.java:648) 2016/07/23 07:22:05 - REST Client.0 - at com.sun.jersey.api.client.WebResource.handle(WebResource.java:680) 2016/07/23 07:22:05 - REST Client.0 - at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74) 2016/07/23 07:22:05 - REST Client.0 - at com.sun.jersey.api.client.WebResource$Builder.get(WebResource.java:507) 2016/07/23 07:22:05 - REST Client.0 - at org.pentaho.di.trans.steps.rest.Rest.callRest(Rest.java:171) 2016/07/23 07:22:05 - REST Client.0 - ... 3 more 2016/07/23 07:22:05 - REST Client.0 - 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 2016/07/23 07:22:05 - REST Client.0 - at sun.security.ssl.Alerts.getSSLException(Alerts.java:192) 2016/07/23 07:22:05 - REST Client.0 - at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1949) 2016/07/23 07:22:05 - REST Client.0 - at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:302) 2016/07/23 07:22:05 - REST Client.0 - at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:296) 2016/07/23 07:22:05 - REST Client.0 - at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1509) 2016/07/23 07:22:05 - REST Client.0 - at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:216) 2016/07/23 07:22:05 - REST Client.0 - at sun.security.ssl.Handshaker.processLoop(Handshaker.java:979) 2016/07/23 07:22:05 - REST Client.0 - at sun.security.ssl.Handshaker.process_record(Handshaker.java:914) 2016/07/23 07:22:05 - REST Client.0 - at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1062) 2016/07/23 07:22:05 - REST Client.0 - at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375) 2016/07/23 07:22:05 - REST Client.0 - at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:747) 2016/07/23 07:22:05 - REST Client.0 - at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:123) 2016/07/23 07:22:05 - REST Client.0 - at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82) 2016/07/23 07:22:05 - REST Client.0 - at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140) 2016/07/23 07:22:05 - REST Client.0 - at org.apache.commons.httpclient.HttpConnection.flushRequestOutputStream(HttpConnection.java:828) 2016/07/23 07:22:05 - REST Client.0 - at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.flushRequestOutputStream(MultiThreadedHttpConnectionManager.java:1565) 2016/07/23 07:22:05 - REST Client.0 - at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2116) 2016/07/23 07:22:05 - REST Client.0 - at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1096) 2016/07/23 07:22:05 - REST Client.0 - at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398) 2016/07/23 07:22:05 - REST Client.0 - at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) 2016/07/23 07:22:05 - REST Client.0 - at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) 2016/07/23 07:22:05 - REST Client.0 - at com.sun.jersey.client.apache.DefaultApacheHttpMethodExecutor.executeMethod(DefaultApacheHttpMethodExecutor.java:210) 2016/07/23 07:22:05 - REST Client.0 - ... 10 more 2016/07/23 07:22:05 - REST Client.0 - Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target 2016/07/23 07:22:05 - REST Client.0 - at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:387) 2016/07/23 07:22:05 - REST Client.0 - at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:292) 2016/07/23 07:22:05 - REST Client.0 - at sun.security.validator.Validator.validate(Validator.java:260) 2016/07/23 07:22:05 - REST Client.0 - at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:324) 2016/07/23 07:22:05 - REST Client.0 - at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:229) 2016/07/23 07:22:05 - REST Client.0 - at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124) 2016/07/23 07:22:05 - REST Client.0 - at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1491) 2016/07/23 07:22:05 - REST Client.0 - ... 27 more 2016/07/23 07:22:05 - REST Client.0 - Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target 2016/07/23 07:22:05 - REST Client.0 - at sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:146) 2016/07/23 07:22:05 - REST Client.0 - at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:131) 2016/07/23 07:22:05 - REST Client.0 - at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:280) 2016/07/23 07:22:05 - REST Client.0 - at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:382) 2016/07/23 07:22:05 - REST Client.0 - ... 33 more
    via by Mike Baranski,
    • 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 at sun.security.ssl.Alerts.getSSLException(Alerts.java:192) at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1886) at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:276) at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:270) at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1341) at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:153) at sun.security.ssl.Handshaker.processLoop(Handshaker.java:868) at sun.security.ssl.Handshaker.process_record(Handshaker.java:804) at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1016) at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1312) at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:702) at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:122) at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82) at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140) at org.apache.commons.httpclient.HttpConnection.flushRequestOutputStream(HttpConnection.java:828) at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2116) at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1096) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323) at hudson.ProxyConfiguration$DescriptorImpl.doValidateProxy(ProxyConfiguration.java:321) at sun.reflect.GeneratedMethodAccessor897.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:298) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:161) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:96) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:120) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:728) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:858) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:248) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:728) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:858) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:631) at org.kohsuke.stapler.Stapler.service(Stapler.java:225) at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:686) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1494) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:96) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:88) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:48) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:174) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at jenkins.security.ApiTokenFilter.doFilter(ApiTokenFilter.java:64) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:67) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482) at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:46) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1474) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:499) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:533) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) at org.eclipse.jetty.server.Server.handle(Server.java:370) at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489) at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:960) at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1021) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240) at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52) at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:722) Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:385) at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:292) at sun.security.validator.Validator.validate(Validator.java:260) at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:326) at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:231) at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:126) at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1323) ... 89 more Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:196) at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:268) at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:380) ... 95 more

    Users with the same issue

    rocdayrocday
    1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    jf-astjf-ast
    1 times, last one,
    61 more bugmates