android Google Play Warning: SSL Error Handler Vulnerability

To properly handle SSL certificate validation, change your code to invoke SslErrorHandler.proceed() whenever the certificate presented by the server meets your expectations, and invoke SslErrorHandler.cancel() otherwise. For example, I add an alert dialog to make user have confirmed and seems Google no longer shows warning. @Override public void onReceivedSslError(WebView view, final SslErrorHandler handler, SslError error) … Read more

Google Play Security Alert – Your app is using an unsafe implementation of the HostnameVerifier

Same here – Insecure Hostname Verifier Detected in APK Your app is using an unsafe implementation of HostnameVerifier. Please see this Google Help Center article for details, including the deadline for fixing the vulnerability. Im not using HostnameVerifier and not calling setDefaultHostnameVerifier. Moreover – Im using OKHTTP lib for http-requests. I hope that defining TrustManager … Read more

WebView: how to avoid security alert from Google Play upon implementation of onReceivedSslError

To properly handle SSL certificate validation, change your code to invoke SslErrorHandler.proceed() whenever the certificate presented by the server meets your expectations, and invoke SslErrorHandler.cancel() otherwise. As email said, onReceivedSslError should handle user is going to a page with invalid cert, such like a notify dialog. You should not proceed it directly. For example, I … Read more

Webview avoid security alert from google play upon implementation of onReceivedSslError

To properly handle SSL certificate validation, change your code to invoke SslErrorHandler.proceed() whenever the certificate presented by the server meets your expectations, and invoke SslErrorHandler.cancel() otherwise. As email said, onReceivedSslError should handle user is going to a page with invalid cert, such like a notify dialog. You should not proceed it directly. For example, I … Read more