From c403e8b2dfd490683b23927354759458952fd223 Mon Sep 17 00:00:00 2001 From: tomyvi Date: Thu, 7 Apr 2022 10:33:31 +0200 Subject: [PATCH] Disable SSL checks on API calls --- app/SupportedApps.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/SupportedApps.php b/app/SupportedApps.php index f728dd66..00fbe529 100644 --- a/app/SupportedApps.php +++ b/app/SupportedApps.php @@ -131,7 +131,7 @@ abstract class SupportedApps { $zipurl = config('app.appsource').'files/'.$app->sha.'.zip'; - $client = new Client(['http_errors' => false, 'timeout' => 60, 'connect_timeout' => 15]); + $client = new Client(['http_errors' => false, 'timeout' => 60, 'connect_timeout' => 15, 'verify' => false]); $res = $client->request('GET', $zipurl); if (! file_exists(app_path('SupportedApps'))) {