mirror of
https://gitee.com/egzosn/pay-java-parent.git
synced 2026-05-27 07:21:07 +08:00
加入TLSv1.2
This commit is contained in:
@@ -153,7 +153,7 @@ public class HttpRequestTemplate {
|
||||
|
||||
//指定TLS版本
|
||||
sslsf = new SSLConnectionSocketFactory(
|
||||
sslcontext, new String[]{"TLSv1"}, null,
|
||||
sslcontext, new String[]{"TLSv1","TLSv1.2"}, null,
|
||||
new DefaultHostnameVerifier());
|
||||
|
||||
return sslsf;
|
||||
|
||||
Reference in New Issue
Block a user