Skip to content

Commit

Permalink
fix(settings): Disable SSL cert check for JavaScript modules SetupCheck
Browse files Browse the repository at this point in the history
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
  • Loading branch information
susnux authored and backportbot[bot] committed Feb 14, 2024
1 parent 9345af7 commit 3df7783
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apps/settings/lib/SetupChecks/JavaScriptModules.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ public function run(): SetupResult {
$client = $this->clientService->newClient();
$response = $client->head($testURL, [
'connect_timeout' => 10,
// Disable SSL certificate checks to allow self signed certs
'verify' => false,
// Allow to connect to local server
'nextcloud' => [
'allow_local_address' => true,
],
Expand Down

0 comments on commit 3df7783

Please sign in to comment.