|
@@ -20,7 +20,7 @@ public class EcsServiceImpl implements EcsService {
|
|
|
try {
|
|
try {
|
|
|
u = new URL("https://"+url);
|
|
u = new URL("https://"+url);
|
|
|
//信任所有SSL证书
|
|
//信任所有SSL证书
|
|
|
-// SslUtils.ignoreSsl();
|
|
|
|
|
|
|
+ SslUtils.ignoreSsl();
|
|
|
conn = (HttpsURLConnection) u.openConnection();
|
|
conn = (HttpsURLConnection) u.openConnection();
|
|
|
conn.connect();
|
|
conn.connect();
|
|
|
|
|
|