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 | 6 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Best way to extract common name from SSLPeerUnverifiedException?

    Stack Overflow | 6 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]

    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