javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated

JFrog JIRA | Max Friedmann | 5 years ago
  1. 0

    Our artifactory repository has a validated SSL certificate, our Bamboo Server as well. Is the following exception the result of the Bamboo *Agent* not being authenticated? {code}10-Nov-2011 16:03:30 Exception occurred while executing task 10-Nov-2011 16:03:30 javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated 10-Nov-2011 16:03:30 at com.sun.net.ssl.internal.ssl.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:352) 10-Nov-2011 16:03:30 at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:128) 10-Nov-2011 16:03:30 at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:339) 10-Nov-2011 16:03:30 at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:123) 10-Nov-2011 16:03:30 at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:147) 10-Nov-2011 16:03:30 at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:101) 10-Nov-2011 16:03:30 at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:381) 10-Nov-2011 16:03:30 at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:641) 10-Nov-2011 16:03:30 at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:576) 10-Nov-2011 16:03:30 at org.jfrog.build.client.PreemptiveHttpClient.execute(PreemptiveHttpClient.java:95) 10-Nov-2011 16:03:30 at org.jfrog.build.client.ArtifactoryHttpClient.upload(ArtifactoryHttpClient.java:188) 10-Nov-2011 16:03:30 at org.jfrog.build.client.ArtifactoryBuildInfoClient.uploadFile(ArtifactoryBuildInfoClient.java:408) 10-Nov-2011 16:03:30 at org.jfrog.build.client.ArtifactoryBuildInfoClient.deployArtifact(ArtifactoryBuildInfoClient.java:289) 10-Nov-2011 16:03:30 at org.jfrog.bamboo.task.ArtifactoryGenericTask.deploy(ArtifactoryGenericTask.java:213) 10-Nov-2011 16:03:30 at org.jfrog.bamboo.task.ArtifactoryGenericTask.execute(ArtifactoryGenericTask.java:94) 10-Nov-2011 16:03:30 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:116) 10-Nov-2011 16:03:30 at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:72) 10-Nov-2011 16:03:30 at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:87) 10-Nov-2011 16:03:30 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:198) 10-Nov-2011 16:03:30 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:99) 10-Nov-2011 16:03:30 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:107) 10-Nov-2011 16:03:30 at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:50) 10-Nov-2011 16:03:30 at java.lang.Thread.run(Thread.java:662){code}

    JFrog JIRA | 5 years ago | Max Friedmann
    javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
  2. 0

    Our artifactory repository has a validated SSL certificate, our Bamboo Server as well. Is the following exception the result of the Bamboo *Agent* not being authenticated? {code}10-Nov-2011 16:03:30 Exception occurred while executing task 10-Nov-2011 16:03:30 javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated 10-Nov-2011 16:03:30 at com.sun.net.ssl.internal.ssl.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:352) 10-Nov-2011 16:03:30 at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:128) 10-Nov-2011 16:03:30 at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:339) 10-Nov-2011 16:03:30 at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:123) 10-Nov-2011 16:03:30 at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:147) 10-Nov-2011 16:03:30 at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:101) 10-Nov-2011 16:03:30 at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:381) 10-Nov-2011 16:03:30 at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:641) 10-Nov-2011 16:03:30 at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:576) 10-Nov-2011 16:03:30 at org.jfrog.build.client.PreemptiveHttpClient.execute(PreemptiveHttpClient.java:95) 10-Nov-2011 16:03:30 at org.jfrog.build.client.ArtifactoryHttpClient.upload(ArtifactoryHttpClient.java:188) 10-Nov-2011 16:03:30 at org.jfrog.build.client.ArtifactoryBuildInfoClient.uploadFile(ArtifactoryBuildInfoClient.java:408) 10-Nov-2011 16:03:30 at org.jfrog.build.client.ArtifactoryBuildInfoClient.deployArtifact(ArtifactoryBuildInfoClient.java:289) 10-Nov-2011 16:03:30 at org.jfrog.bamboo.task.ArtifactoryGenericTask.deploy(ArtifactoryGenericTask.java:213) 10-Nov-2011 16:03:30 at org.jfrog.bamboo.task.ArtifactoryGenericTask.execute(ArtifactoryGenericTask.java:94) 10-Nov-2011 16:03:30 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:116) 10-Nov-2011 16:03:30 at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:72) 10-Nov-2011 16:03:30 at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:87) 10-Nov-2011 16:03:30 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:198) 10-Nov-2011 16:03:30 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:99) 10-Nov-2011 16:03:30 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:107) 10-Nov-2011 16:03:30 at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:50) 10-Nov-2011 16:03:30 at java.lang.Thread.run(Thread.java:662){code}

    JFrog JIRA | 5 years ago | Max Friedmann
    javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    java sardine over ssl

    Stack Overflow | 5 years ago | Alexx Perez
    javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
  5. 0

    net.rcarz.jiraclient.JiraException

    GitHub | 2 years ago | pearlselvan
    net.rcarz.jiraclient.JiraException: Failed to retrieve issue metadata

    5 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. javax.net.ssl.SSLPeerUnverifiedException

      peer not authenticated

      at com.sun.net.ssl.internal.ssl.SSLSessionImpl.getPeerCertificates()
    2. Java JSSE
      SSLSessionImpl.getPeerCertificates
      1. com.sun.net.ssl.internal.ssl.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:352)
      1 frame
    3. Apache HttpClient
      AbstractHttpClient.execute
      1. org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:128)
      2. org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:339)
      3. org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:123)
      4. org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:147)
      5. org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:101)
      6. org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:381)
      7. org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:641)
      8. org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:576)
      8 frames
    4. org.jfrog.build
      ArtifactoryBuildInfoClient.deployArtifact
      1. org.jfrog.build.client.PreemptiveHttpClient.execute(PreemptiveHttpClient.java:95)
      2. org.jfrog.build.client.ArtifactoryHttpClient.upload(ArtifactoryHttpClient.java:188)
      3. org.jfrog.build.client.ArtifactoryBuildInfoClient.uploadFile(ArtifactoryBuildInfoClient.java:408)
      4. org.jfrog.build.client.ArtifactoryBuildInfoClient.deployArtifact(ArtifactoryBuildInfoClient.java:289)
      4 frames
    5. org.jfrog.bamboo
      ArtifactoryGenericTask.execute
      1. org.jfrog.bamboo.task.ArtifactoryGenericTask.deploy(ArtifactoryGenericTask.java:213)
      2. org.jfrog.bamboo.task.ArtifactoryGenericTask.execute(ArtifactoryGenericTask.java:94)
      2 frames
    6. com.atlassian.bamboo
      NamedThreadFactory$2.run
      1. com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:116)
      2. com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:72)
      3. com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:87)
      4. com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:198)
      5. com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:99)
      6. com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:107)
      7. com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:50)
      7 frames