Skip to content

Revert use the nextcloud certificate bundle for s3 - #32942

Closed
kesselb wants to merge 2 commits into
masterfrom
bug/noid/default-certificate-s3
Closed

Revert use the nextcloud certificate bundle for s3#32942
kesselb wants to merge 2 commits into
masterfrom
bug/noid/default-certificate-s3

Conversation

@kesselb

Copy link
Copy Markdown
Contributor

Reverts 194a21f
Reverts 1156214

By default the aws sdk validates certificate against the default CA bundle provided by the operating system: https://docs.aws.amazon.com/sdk-for-php/v3/developer-guide/guide_configuration.html#config-http

#31574 changed the behavior to use our internal certificate manager or the CA bundle shipped with Nextcloud. When you added a self signed certificate to the CA bundle provided by the operating system connections to your object store now fails. Using an internal CA is a common use case for enterprises.

I guess our best option for now is to restore the old behavior and look for a better approach. Maybe a configuration option to expose the verify option like suggested here: #32726

@kesselbkesselb self-assigned this Jun 20, 2022
@kesselbkesselb added bug 2. developing Work in progress labels Jun 20, 2022
This reverts commit 1156214.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
This reverts commit 194a21f.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
@kesselb
kesselbforce-pushed the bug/noid/default-certificate-s3 branch from a096398 to 22a74c2CompareJune 20, 2022 15:46
@kesselbkesselb added 3. to review Waiting for reviews and removed 2. developing Work in progress labels Jun 20, 2022
@icewind1991

Copy link
Copy Markdown
Member

see #32963 (comment) for some related discussion

@PVince81

Copy link
Copy Markdown
Member

@icewind1991 can you clarify if this revert is still needed ? otherwise please close

@kesselbkesselb closed this Jul 27, 2022
@kesselb
kesselb deleted the bug/noid/default-certificate-s3 branch July 27, 2022 15:41
@kesselb

Copy link
Copy Markdown
ContributorAuthor

#32963 was updated to address the issue.

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviewsbug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@kesselb@icewind1991@PVince81