com.sun.jersey.api.client.ClientHandlerException: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated

GitHub | georgeajit | 4 months ago
  1. 0

    Database clear after one or multiple ServerEvaluationCall eval on SSL enabled REST server has issues.

    GitHub | 4 months ago | georgeajit
    com.sun.jersey.api.client.ClientHandlerException: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
  2. 0

    javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated

    GitHub | 5 years ago | TimothyKlim
    javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

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 sun.security.ssl.SSLSessionImpl.getPeerCertificates()
  2. Java JSSE
    SSLSessionImpl.getPeerCertificates
    1. sun.security.ssl.SSLSessionImpl.getPeerCertificates(Unknown Source)
    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:390)
    3. org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:148)
    4. org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:149)
    5. org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:121)
    6. org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:561)
    7. org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:415)
    8. org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820)
    9. org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:776)
    9 frames
  4. Jersey Apache HTTP Client 4.x
    ApacheHttpClient4Handler.handle
    1. com.sun.jersey.client.apache4.ApacheHttpClient4Handler.handle(ApacheHttpClient4Handler.java:170)
    1 frame
  5. com.marklogic.client
    DigestChallengeFilter.handle
    1. com.marklogic.client.impl.DigestChallengeFilter.handle(DigestChallengeFilter.java:34)
    1 frame
  6. jersey-client
    WebResource.head
    1. com.sun.jersey.api.client.filter.HTTPDigestAuthFilter.handle(HTTPDigestAuthFilter.java:493)
    2. com.sun.jersey.api.client.Client.handle(Client.java:648)
    3. com.sun.jersey.api.client.WebResource.head(WebResource.java:176)
    3 frames
  7. com.marklogic.client
    TestAggregates.testTuplesAggregates
    1. com.marklogic.client.impl.JerseyServices.makeFirstRequest(JerseyServices.java:497)
    2. com.marklogic.client.impl.JerseyServices.putPostDocumentImpl(JerseyServices.java:1303)
    3. com.marklogic.client.impl.JerseyServices.putDocument(JerseyServices.java:1183)
    4. com.marklogic.client.impl.DocumentManagerImpl.write(DocumentManagerImpl.java:913)
    5. com.marklogic.client.impl.DocumentManagerImpl.write(DocumentManagerImpl.java:751)
    6. com.marklogic.client.impl.DocumentManagerImpl.write(DocumentManagerImpl.java:681)
    7. com.marklogic.client.functionaltest.BasicJavaClientREST.writeDocumentUsingInputStreamHandle(BasicJavaClientREST.java:142)
    8. com.marklogic.client.functionaltest.TestAggregates.testTuplesAggregates(TestAggregates.java:222)
    8 frames
  8. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    4. java.lang.reflect.Method.invoke(Unknown Source)
    4 frames
  9. JUnit
    ParentRunner.run
    1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
    2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
    4. org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
    5. org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
    6. org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
    7. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
    8. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
    9. org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
    10. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
    11. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
    12. org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
    13. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
    14. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
    15. org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
    16. org.junit.runners.ParentRunner.run(ParentRunner.java:309)
    16 frames
  10. JUnit4 Runner
    JUnit4TestReference.run
    1. org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)
    1 frame
  11. JUnit3 Runner
    RemoteTestRunner.main
    1. org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
    2. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
    3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)
    4. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
    5. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
    5 frames