Android webview - loadUrl to sni server

0

i'm trying to load url with webview to SNI address but i'm always get "Couldn't establish a secure connection" to onReceivedError (not to onReceivedSslError).

the android version is : 4.2.2 Jelly Bean (api 17).

also i get in the log those messages:

E/chromium: external/chromium/net/socket/ssl_client_socket_openssl.cc:792: [0710/174953:ERROR:ssl_client_socket_openssl.cc(792)] handshake failed; returned -1, SSL error code 1, net_error -107 E/NativeCrypto: Unknown error during handshake E/NativeCrypto: Unknown error during handshake E/NetworkStateReceiver: Exception : javax.net.ssl.SSLHandshakeException: javax.net.ssl.SSLProtocolException: SSL handshake aborted: ssl=0x5537d320: Failure in SSL library, usually a protocol error error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure (external/openssl/ssl/s23_clnt.c:741 0x4ebf9890:0x00000000)

android
ssl
webview
android-4.2-jelly-bean
sni
asked on Stack Overflow Jul 10, 2018 by gil cohen

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0