I have seen a lot of posts and information about SSL errors and I have stumbled upon one myself.
I am trying to access a web page through Android WebView with a GlobalSi
The method " setCertificate" is deprecated, so I think that it may not work.I solved a similar problem like yours.If you have your own ssl cacert, you can set networkSecurityConfig .networkSecurityConfig to learn more.
android:networkSecurityConfig="@xml/network_security_config"
if you load a url from assets ,you should also set the follow settings.
webSetting.setAllowUniversalAccessFromFileURLs(true);