android - Manually verify SSL certificate in WebView -


I have an Android WebView which shows some https content. There is a problem with the SSL certificate provided by the server when I am waiting for a new certificate that relies on the webview, so I am thinking how I can manually verify the SSL certificate.

I have WebViewClient where I have the primary error code of SslError to onReivedivedLs error SslError.SSL_UNTRUSTED . I get the certificate on the same error object, an example of SslCertificate .

Do I have any way to perform manual verification against the certificate object, to verify that it is reliable


Comments