Skip to content

Commit 315c7c0

Browse files
authored
Update IgnoreSSLUtils.java
1 parent 99bbf34 commit 315c7c0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/com/huawei/push/util/IgnoreSSLUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
*/
3737
public class IgnoreSSLUtils {
3838
private static SSLContext createIgnoreVerifySSL() throws NoSuchAlgorithmException, KeyManagementException {
39-
SSLContext sc = SSLContext.getInstance("SSLv3");
39+
SSLContext sc = SSLContext.getInstance("TLSv1.2");
4040

4141
X509TrustManager trustManager = new X509TrustManager() {
4242
@Override

0 commit comments

Comments
 (0)