diff --git a/pay-java-common/src/main/java/com/egzosn/pay/common/http/HttpRequestTemplate.java b/pay-java-common/src/main/java/com/egzosn/pay/common/http/HttpRequestTemplate.java index 218a26e1..ba60626e 100644 --- a/pay-java-common/src/main/java/com/egzosn/pay/common/http/HttpRequestTemplate.java +++ b/pay-java-common/src/main/java/com/egzosn/pay/common/http/HttpRequestTemplate.java @@ -153,7 +153,7 @@ public SSLConnectionSocketFactory createSSL(HttpConfigStorage configStorage) { //指定TLS版本 sslsf = new SSLConnectionSocketFactory( - sslcontext, new String[]{"TLSv1"}, null, + sslcontext, new String[]{"TLSv1","TLSv1.2"}, null, new DefaultHostnameVerifier()); return sslsf;