Android 绕过https证书校验
SSLSocketFactory.getSocketFactory().setHostnameVerifier(SSLSocketFactory.ALLOW_ALL_HOSTNAME_VERIFIER);
SSLContext contextvolley = null;
try {
contextvolley = SSLContext.getInstance("TLS");
contextvolley.init(null,new X509TrustManager[]{new X509T.
原创
2021-02-03 16:54:54 ·
748 阅读 ·
2 评论