yjj 1 anno fa
parent
commit
20cd59d2f5

+ 1 - 1
src/main/java/com/example/demo/demos/web/service/impl/EcsServiceImpl.java

@@ -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();