mirror of
https://github.com/nextcloud/server.git
synced 2026-04-22 06:37:56 -04:00
Merge 4e22e9576d into ae45f67a75
This commit is contained in:
commit
a48b514d35
1 changed files with 2 additions and 0 deletions
|
|
@ -295,6 +295,8 @@ class Mailer implements IMailer {
|
|||
|
||||
$streamingOptions = $this->config->getSystemValue('mail_smtpstreamoptions', []);
|
||||
if (is_array($streamingOptions) && !empty($streamingOptions)) {
|
||||
$rootCertPath = $streamingOptions['ssl']['cafile'] ?? $this->config->getValue('default_certificates_bundle_path', null) ?? '';
|
||||
$streamingOptions['ssl']['cafile'] = $rootCertPath;
|
||||
/** @psalm-suppress InternalMethod */
|
||||
$currentStreamingOptions = $stream->getStreamOptions();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue