javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated

Apache's JIRA Issue Tracker | Philippe Mouawad | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    net.rcarz.jiraclient.JiraException

    GitHub | 2 years ago | pearlselvan
    net.rcarz.jiraclient.JiraException: Failed to retrieve issue metadata
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    http request fails when using lower java version

    Stack Overflow | 2 years ago | user1985273
    javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
  4. 0

    One of customers facing this problem: 1. He can do appc login and appc logout from command line. 2. But If he try to open the studio directly and login from studio, it will get a SSL certificate error. attached screen shot. Here is the error log: {code} _________________________________________________________ !ENTRY com.appcelerator.titanium.360.core 4 0 2016-01-18 19:39:53.912 !MESSAGE (Build 3.4.1.1413590581) [ERROR] Request: login to https://dashboard.appcelerator.com, params: xxxx@xxxx.com, ********** !STACK 0 javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated at com.sun.net.ssl.internal.ssl.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:352) at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:128) at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:572) at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:180) at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:294) at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:640) at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:479) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:805) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:784) at com.appcelerator.appc360.API.login(API.java:125) at com.appcelerator.titanium360.internal.core.Titanium360Manager.login(Titanium360Manager.java:167) at com.appcelerator.titanium360.internal.core.Titanium360Manager.checkLoginUser(Titanium360Manager.java:612) at com.appcelerator.titanium.rcp.handlers.TitaniumSplashHandler$12.run(TitaniumSplashHandler.java:693) (Build 3.4.1.1413590581) [ERROR] Request: login to https://dashboard.appcelerator.com, params: xxxx@xxxx.com, ********** javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated at com.sun.net.ssl.internal.ssl.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:352) at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:128) at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:572) at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:180) at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:294) at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:640) at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:479) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:805) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:784) at com.appcelerator.appc360.API.login(API.java:125) at com.appcelerator.titanium360.internal.core.Titanium360Manager.login(Titanium360Manager.java:167) at com.appcelerator.titanium360.internal.core.Titanium360Manager.checkLoginUser(Titanium360Manager.java:612) at com.appcelerator.titanium.rcp.handlers.TitaniumSplashHandler$12.run(TitaniumSplashHandler.java:693) {code} Here is the detail based on his response 1. No proxy 2. OS X Yosemite version 10.10.1 3. Studio was working well until I restarted Studio. No changes to the OS or any software were made prior to the receiving the error. Please suggest a way to solve this, and why this happened?

    Appcelerator JIRA | 1 year ago | Shuo Liang
    javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated

    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:572)
      3. org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:180)
      4. org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:294)
      5. org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:640)
      6. org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:479)
      7. org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906)
      8. org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:805)
      9. org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:784)
      9 frames
    4. Unknown
      TestingStuff.main
      1. TestingStuff.main(TestingStuff.java:25)
      1 frame