то же имя хоста и DN: CN, но все равно выбрасывают javax.net.ssl.SSLPeerUnverifiedException - PullRequest
0 голосов
/ 21 ноября 2018

Используйте мою самоподписанную установку RootCa на устройстве Android.и подписать сертификат для моего хозяина.но все равно киньте javax.net.ssl.SSLPeerUnverifiedException.

    javax.net.ssl.SSLPeerUnverifiedException: Hostname olympic.qima-inc.com not verified:
    certificate: sha256/OGVKjokkGNg0YUweg/vBPiROZKsXJitJHTa5dUYzoMc=
    DN: CN=olympic.qima-inc.com,OU=Retail,O=YZ,L=West_Lake,ST=HangZhou,C=CN
    subjectAltNames: []
    at okhttp3.internal.connection.RealConnection.connectTls(RealConnection.java:316)
    at okhttp3.internal.connection.RealConnection.establishProtocol(RealConnection.java:270)
    at okhttp3.internal.connection.RealConnection.connect(RealConnection.java:162)
    at okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:257)
    at okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:135)
    at okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:114)
    at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42)
    at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
    at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
    at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93)
    at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
    at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
    at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93)
    at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
    at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:126)
    at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
    at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...