mirror of
https://github.com/linuxserver/Heimdall.git
synced 2026-08-07 07:16:13 +00:00
Add global TLS verification skip setting
Adds a new boolean setting in the Advanced settings group that allows users to globally skip TLS certificate verification for all enhanced apps. This is useful for users who have self-signed certificates on their services. When enabled, the Guzzle HTTP client will set 'verify' => false for all API requests made by enhanced apps. Resolves linuxserver/Heimdall-Apps#687
This commit is contained in:
@@ -85,6 +85,11 @@ abstract class SupportedApps
|
||||
'connect_timeout' => 15,
|
||||
] : $overridevars;
|
||||
|
||||
// Check global setting to skip TLS verification (useful for self-signed certificates)
|
||||
if (Setting::fetch('skip_tls_verification')) {
|
||||
$vars['verify'] = false;
|
||||
}
|
||||
|
||||
$client = new Client($vars);
|
||||
|
||||
$method = ($overridemethod === null || $overridemethod === false) ? $this->method : $overridemethod;
|
||||
|
||||
Reference in New Issue
Block a user