How to establish Trust ALL SSL connection to jira running on https? I want to configure a build that deploys a jira plugin to a DEV jira server and I'm getting an error:
Error occurred while running Task 'Deploys the plugin to JIRA(1)'. This build will fail. Caused by: error 27-Jun-2013 14:13:07 com.atlassian.bamboo.task.TaskException: Unable to POST WebSudo authentication request: peer not authenticated error 27-Jun-2013 14:13:07 at com.atlassian.bamboo.plugins.confdeploy.UniversalPluginUploader.login(UniversalPluginUploader.java:247) error 27-Jun-2013 14:13:07 at com.atlassian.bamboo.plugins.confdeploy.UniversalPluginUploader.upload(UniversalPluginUploader.java:71) error 27-Jun-2013 14:13:07 at com.atlassian.bamboo.plugins.confdeploy.AutoDeployTask.execute(AutoDeployTask.java:82) error 27-Jun-2013 14:13:07 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:183) error 27-Jun-2013 14:13:07 at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:91) error 27-Jun-2013 14:13:07 at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:85) error 27-Jun-2013 14:13:07 at sun.reflect.GeneratedMethodAccessor539.invoke(Unknown Source) error 27-Jun-2013 14:13:07 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) error 27-Jun-2013 14:13:07 at java.lang.reflect.Method.invoke(Method.java:616) error 27-Jun-2013 14:13:07 at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) error 27-Jun-2013 14:13:07 at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) error 27-Jun-2013 14:13:07 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) error 27-Jun-2013 14:13:07 at org.springframework.orm.hibernate.HibernateInterceptor.invoke(HibernateInterceptor.java:117) error 27-Jun-2013 14:13:07 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) error 27-Jun-2013 14:13:07 at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89) error 27-Jun-2013 14:13:07 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) error 27-Jun-2013 14:13:07 at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) error 27-Jun-2013 14:13:07 at $Proxy777.call(Unknown Source) error 27-Jun-2013 14:13:07 at sun.reflect.GeneratedMethodAccessor539.invoke(Unknown Source) error 27-Jun-2013 14:13:07 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) error 27-Jun-2013 14:13:07 at java.lang.reflect.Method.invoke(Method.java:616) error 27-Jun-2013 14:13:07 at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) error 27-Jun-2013 14:13:07 at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) error 27-Jun-2013 14:13:07 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) error 27-Jun-2013 14:13:07 at org.springframework.orm.hibernate.HibernateInterceptor.invoke(HibernateInterceptor.java:117) error 27-Jun-2013 14:13:07 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) error 27-Jun-2013 14:13:07 at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) error 27-Jun-2013 14:13:07 at $Proxy778.call(Unknown Source) error 27-Jun-2013 14:13:07 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:204) error 27-Jun-2013 14:13:07 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:103) error 27-Jun-2013 14:13:07 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:109) error 27-Jun-2013 14:13:07 at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:52) error 27-Jun-2013 14:13:07 at java.lang.Thread.run(Thread.java:636) error 27-Jun-2013 14:13:07 Caused by: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated error 27-Jun-2013 14:13:07 at sun.security.ssl.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:371) error 27-Jun-2013 14:13:07 at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:128) error 27-Jun-2013 14:13:07 at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:390) error 27-Jun-2013 14:13:07 at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:148) error 27-Jun-2013 14:13:07 at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:149) error 27-Jun-2013 14:13:07 at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:121) error 27-Jun-2013 14:13:07 at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:562) error 27-Jun-2013 14:13:07 at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:415) error 27-Jun-2013 14:13:07 at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820) error 27-Jun-2013 14:13:07 at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:754) error 27-Jun-2013 14:13:07 at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:732) error 27-Jun-2013 14:13:07 at com.atlassian.bamboo.plugins.confdeploy.UniversalPluginUploader.login(UniversalPluginUploader.java:219) error 27-Jun-2013 14:13:07 ... 32 more
This can be caused if you are running Bamboo behind Apache with SSL, if your default SSL VirtualHost is not returning the same SSLCertificate as your Bamboo VirtualHost. We had a similar problem, because I didn't know /etc/httpd/conf.d/ssl.conf created a VirtualHost.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.