Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix(s3): implement custom ca bundle config
Signed-off-by: Richard Steinmetz <[email protected]>
  • Loading branch information
st3iny committed Oct 21, 2025
commit cc9f239e40a2c0ce84dc6cb4debe71cc22399bf6
5 changes: 5 additions & 0 deletions lib/private/Files/ObjectStore/S3ConnectionTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,11 @@ protected function paramCredentialProvider(): callable {
}

protected function getCertificateBundlePath(): ?string {
$customCaBundle = $this->params['ca_bundle'];
if (!empty($customCaBundle)) {
return $customCaBundle;
}

if ((int)($this->params['use_nextcloud_bundle'] ?? '0')) {
// since we store the certificate bundles on the primary storage, we can't get the bundle while setting up the primary storage
if (!isset($this->params['primary_storage'])) {
Expand Down
Loading