mirror of
https://gitee.com/ZhongBangKeJi/crmeb_java.git
synced 2026-04-23 03:58:35 +08:00
兼容支付,将协议交给jdk管理
This commit is contained in:
@@ -273,8 +273,8 @@ public class RestTemplateUtil {
|
|||||||
|
|
||||||
SSLConnectionSocketFactory sslConnectionSocketFactory = new SSLConnectionSocketFactory(
|
SSLConnectionSocketFactory sslConnectionSocketFactory = new SSLConnectionSocketFactory(
|
||||||
sslContext,
|
sslContext,
|
||||||
new String[]{"TLSv1"},
|
// new String[]{"TLSv1"},
|
||||||
null,
|
// null,
|
||||||
new DefaultHostnameVerifier());
|
new DefaultHostnameVerifier());
|
||||||
|
|
||||||
BasicHttpClientConnectionManager connManager = new BasicHttpClientConnectionManager(
|
BasicHttpClientConnectionManager connManager = new BasicHttpClientConnectionManager(
|
||||||
|
|||||||
Reference in New Issue
Block a user