TLS/SSLv3 in webview android

萝らか妹 提交于 2019-12-22 11:37:28

问题


Can someone tell me how I can go about forcing webview in android to use TLS or simply block SSLv3 in android ?

11-07 11:40:16.711 D/WebActivity( 6474): onPageStarted-url : example.com
11-07 11:40:16.946 W/chromium( 6474): external/chromium/net/http/http_stream_factory_impl_job.cc:865: [1107/114016:WARNING:http_stream_factory_impl_job.cc(865)] Falling back to SSLv3 because host is TLS intolerant: 
11-07 11:40:16.951 E/WebActivity( 6474): Origin: example.com Quota: 9223372036854775807 Usage: 12661932
11-07 11:40:17.131 E/chromium( 6474): external/chromium/net/socket/ssl_client_socket_openssl.cc:792: [1107/114017:ERROR:ssl_client_socket_openssl.cc(792)] handshake failed; returned -1, SSL error code 1, net_error -107
11-07 11:40:17.411 I/GATE    ( 6474): <GATE-M>DEV_ACTION_ERROR</GATE-M>
11-07 11:40:17.416 V/webkit  ( 6474): reportError errorCode(-11) desc(Couldn't establish a secure connection.)
11-07 11:40:17.416 E/WebActivity( 6474): onReceivedError-description:Couldn't establish a secure connection. -Error Code: -1

Thank you.


回答1:


I was facing the same. It is purely server side configuration issue. I just verified from this link that whether those TLS and SSL version are enabled or not because Android version below 4.4 uses TLS1.0,1.1



来源:https://stackoverflow.com/questions/26939551/tls-sslv3-in-webview-android

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!