记得上下班打卡 | git大法好,push需谨慎

Commit 6d0fc619 authored by jiangxiulong's avatar jiangxiulong

test http

parent ea94acbf
......@@ -286,6 +286,7 @@ public class HttpClientUtils {
private static void sslClient(HttpClient httpClient) {
try {
SSLContext ctx = SSLContext.getInstance("TLSv1.2");
System.setProperty("https.protocols", "TLSv1.2,TLSv1.1,SSLv3");
X509TrustManager tm = new X509TrustManager() {
public X509Certificate[] getAcceptedIssuers() {
return null;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment