diff --git a/src/Http/Remote.php b/src/Http/Remote.php index bf38070db2..2d596ff894 100644 --- a/src/Http/Remote.php +++ b/src/Http/Remote.php @@ -59,7 +59,9 @@ public function __construct(string $url, array $options = []) // use the system CA store by default if // one has been configured in php.ini $cainfo = ini_get('curl.cainfo'); - if (empty($cainfo) === false && is_file($cainfo) === true) { + + // Suppress warnings e.g. if system CA is outside of open_basedir (See: issue #6236) + if (empty($cainfo) === false && @is_file($cainfo) === true) { $defaults['ca'] = self::CA_SYSTEM; }