兼容支付,将协议交给jdk管理

This commit is contained in:
stivepeim
2022-09-03 09:45:37 +08:00
parent fc2bc07451
commit 583f173e16

View File

@@ -273,8 +273,8 @@ public class RestTemplateUtil {
SSLConnectionSocketFactory sslConnectionSocketFactory = new SSLConnectionSocketFactory(
sslContext,
new String[]{"TLSv1"},
null,
// new String[]{"TLSv1"},
// null,
new DefaultHostnameVerifier());
BasicHttpClientConnectionManager connManager = new BasicHttpClientConnectionManager(