فهرست منبع

取消oss-sdk的ssl证书验证

萤火科技 5 سال پیش
والد
کامیت
d4b6493d41
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      vendor/aliyuncs/oss-sdk-php/src/OSS/Http/RequestCore.php

+ 1 - 1
vendor/aliyuncs/oss-sdk-php/src/OSS/Http/RequestCore.php

@@ -157,7 +157,7 @@ class RequestCore
     /**
     /**
      * The state of SSL certificate verification.
      * The state of SSL certificate verification.
      */
      */
-    public $ssl_verification = true;
+    public $ssl_verification = false;
 
 
     /**
     /**
      * The user-defined callback function to call when a stream is read from.
      * The user-defined callback function to call when a stream is read from.