javax.net.ssl.SSLPeerUnverifiedException: Hostname assets.domain.com not verified: certificate: sha256/6NEXAaHJ2CAMKUOkWhMCwH9biv2QtAFsYMl0WqkocgM= DN: CN=apc.aptilo.com,OU=Domain Control Validated - RapidSSL(R),OU=See www.rapidssl.com/resources/cps (c)13,OU=GT19785026,2.5.4.5=#13204456444273427335456d62337a6151706e6e6d356744615556354b6a63696c44 subjectAltNames: [apc.aptilo.com]

Stack Overflow | Ricardo Amaral | 9 months 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

    Best way to extract common name from SSLPeerUnverifiedException?

    Stack Overflow | 9 months ago | Ricardo Amaral
    javax.net.ssl.SSLPeerUnverifiedException: Hostname assets.domain.com not verified: certificate: sha256/6NEXAaHJ2CAMKUOkWhMCwH9biv2QtAFsYMl0WqkocgM= DN: CN=apc.aptilo.com,OU=Domain Control Validated - RapidSSL(R),OU=See www.rapidssl.com/resources/cps (c)13,OU=GT19785026,2.5.4.5=#13204456444273427335456d62337a6151706e6e6d356744615556354b6a63696c44 subjectAltNames: [apc.aptilo.com]
  2. 0

    Aquery return javax.net.ssl.SSLPeerUnverifiedException - Grokbase

    grokbase.com | 9 months ago
    javax.net.ssl.SSLPeerUnverifiedException: No peer certificate at org.apache.harmony.xnet.provider.jsse.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:137) at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:93) at org.apache.http.conn.ssl.SSLSocketFactory.createSocket(SSLSocketFactory.java:381) at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:165) at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:164) at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:119) at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:360) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:670) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:509) *at com.androidquery.callback.AbstractAjaxCallback.httpDo(AbstractAjaxCallback.java:1468) * * * *at com.androidquery.callback.AbstractAjaxCallback.httpGet(AbstractAjaxCallback.java:1292) * * * *at com.androidquery.callback.AbstractAjaxCallback.network(AbstractAjaxCallback.java:1209) * * * *at com.androidquery.callback.AbstractAjaxCallback.networkWork(AbstractAjaxCallback.java:1047) * * * *at com.androidquery.callback.AbstractAjaxCallback.backgroundWork(AbstractAjaxCallback.java:994) * * * *at com.androidquery.callback.AbstractAjaxCallback.run(AbstractAjaxCallback.java:957) * at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)

    Root Cause Analysis

    1. javax.net.ssl.SSLPeerUnverifiedException

      Hostname assets.domain.com not verified: certificate: sha256/6NEXAaHJ2CAMKUOkWhMCwH9biv2QtAFsYMl0WqkocgM= DN: CN=apc.aptilo.com,OU=Domain Control Validated - RapidSSL(R),OU=See www.rapidssl.com/resources/cps (c)13,OU=GT19785026,2.5.4.5=#13204456444273427335456d62337a6151706e6e6d356744615556354b6a63696c44 subjectAltNames: [apc.aptilo.com]

      at okhttp3.internal.connection.RealConnection.connectTls()
    2. okhttp3.internal.connection
      ConnectInterceptor.intercept
      1. okhttp3.internal.connection.RealConnection.connectTls(SourceFile:250)
      2. okhttp3.internal.connection.RealConnection.establishProtocol(SourceFile:198)
      3. okhttp3.internal.connection.RealConnection.buildConnection(SourceFile:174)
      4. okhttp3.internal.connection.RealConnection.connect(SourceFile:114)
      5. okhttp3.internal.connection.StreamAllocation.findConnection(SourceFile:193)
      6. okhttp3.internal.connection.StreamAllocation.findHealthyConnection(SourceFile:129)
      7. okhttp3.internal.connection.StreamAllocation.newStream(SourceFile:98)
      8. okhttp3.internal.connection.ConnectInterceptor.intercept(SourceFile:42)
      8 frames
    3. okhttp3.internal.http
      RealInterceptorChain.proceed
      1. okhttp3.internal.http.RealInterceptorChain.proceed(SourceFile:92)
      2. okhttp3.internal.http.RealInterceptorChain.proceed(SourceFile:67)
      2 frames
    4. okhttp3.internal.cache
      CacheInterceptor.intercept
      1. okhttp3.internal.cache.CacheInterceptor.intercept(SourceFile:109)
      1 frame
    5. okhttp3.internal.http
      RealInterceptorChain.proceed
      1. okhttp3.internal.http.RealInterceptorChain.proceed(SourceFile:92)
      2. okhttp3.internal.http.RealInterceptorChain.proceed(SourceFile:67)
      3. okhttp3.internal.http.BridgeInterceptor.intercept(SourceFile:93)
      4. okhttp3.internal.http.RealInterceptorChain.proceed(SourceFile:92)
      5. okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(SourceFile:124)
      6. okhttp3.internal.http.RealInterceptorChain.proceed(SourceFile:92)
      7. okhttp3.internal.http.RealInterceptorChain.proceed(SourceFile:67)
      7 frames
    6. okhttp3
      RealCall$AsyncCall.execute
      1. okhttp3.RealCall.getResponseWithInterceptorChain(SourceFile:170)
      2. okhttp3.RealCall.access$100(SourceFile:33)
      3. okhttp3.RealCall$AsyncCall.execute(SourceFile:120)
      3 frames
    7. okhttp3.internal
      NamedRunnable.run
      1. okhttp3.internal.NamedRunnable.run(SourceFile:32)
      1 frame
    8. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
      3. java.lang.Thread.run(Thread.java:818)
      3 frames