From 1c6902648b317534e9b708d524d76aa946440f8d Mon Sep 17 00:00:00 2001 From: "Simon L." Date: Fri, 5 Dec 2025 15:07:15 +0100 Subject: [PATCH] feat(redis): Allow to use global default_certificates_bundle_path in ssl_context Signed-off-by: Simon L. --- lib/private/RedisFactory.php | 2 ++ 1 file changed, 2 insertions(+) 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;