Change log level of supportedProtocols.
parent
3510e74d3f
commit
4078766d0e
|
@ -65,7 +65,7 @@ public class HttpClientGenerator {
|
||||||
} else {
|
} else {
|
||||||
supportedProtocols = new String[] { "SSLv3", "TLSv1", "TLSv1.1", "TLSv1.2" };
|
supportedProtocols = new String[] { "SSLv3", "TLSv1", "TLSv1.1", "TLSv1.2" };
|
||||||
}
|
}
|
||||||
logger.info("supportedProtocols: {}", String.join(", ", supportedProtocols));
|
logger.debug("supportedProtocols: {}", String.join(", ", supportedProtocols));
|
||||||
return new SSLConnectionSocketFactory(sslContext, supportedProtocols,
|
return new SSLConnectionSocketFactory(sslContext, supportedProtocols,
|
||||||
null,
|
null,
|
||||||
new DefaultHostnameVerifier()); // 优先绕过安全证书
|
new DefaultHostnameVerifier()); // 优先绕过安全证书
|
||||||
|
|
Loading…
Reference in New Issue