I\'ve implemented onReceivedSslError
method in my WebViewClient to properly handle invalid https certificate in webview:
@Override
public voi
Even for me it was giving SSL_UNTRUSTED when the cert was throwing invalid CN(SSL_IDMISMATCH) on android chrome. Added network-security-config and all seemed to work fine. For me I installed a user-ca which wasnt being picked up by webview.
Added this snippet of code, which allowed me to use user-ca installed in user credentials.