diff --git a/lib/private/RedisFactory.php b/lib/private/RedisFactory.php index 29d45ace69625..e25097902d1d3 100644 --- a/lib/private/RedisFactory.php +++ b/lib/private/RedisFactory.php @@ -135,6 +135,8 @@ private function getSslContext($config) { self::REDIS_EXTRA_PARAMETERS_MINIMAL_VERSION )); } + $rootCertPath = $config['ssl_context']['cafile'] ?? $this->config->getValue('default_certificates_bundle_path', null) ?? ''; + $config['ssl_context']['cafile'] = $rootCertPath; return $config['ssl_context']; } return null;