Skip to content

[stable25] Check return value and improve error handling on certificate manager - #38090

Merged
blizzz merged 3 commits into
stable25from
backport/35092/stable25
May 17, 2023
Merged

[stable25] Check return value and improve error handling on certificate manager#38090
blizzz merged 3 commits into
stable25from
backport/35092/stable25

Conversation

@backportbot-nextcloud

@backportbot-nextcloudbackportbot-nextcloudBot commented May 4, 2023

Copy link
Copy Markdown
  • ⚠️ This backport had conflicts that were resolved with the 'ours' merge strategy and is likely incomplete

backport of #35092

Messj1 added 2 commits May 4, 2023 20:02
With S3 primary storage there was a problem with getting the CA bundle from the storage without having the CA bundle for the connection which causes that the CertificateManager was throwing an Error.
This commit improves the handling in CertificateManager and log unexpected behaviors.
Signed-off-by: Jan Messer <jan@mtec-studios.ch>
…ndler (only exceptions are catch)
Signed-off-by: Jan Messer <jan@mtec-studios.ch>
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
@solracsf
solracsf marked this pull request as ready for review May 4, 2023 20:29
@solracsfsolracsf added the 3. to review Waiting for reviews label May 7, 2023
@blizzzblizzz mentioned this pull request May 16, 2023
@blizzz
blizzz requested review from a team, icewind1991, nfebe, skjnldsv and solracsf and removed request for a teamMay 17, 2023 11:23
@blizzz
blizzz merged commit 4f42312 into stable25May 17, 2023
@blizzz
blizzz deleted the backport/35092/stable25 branch May 17, 2023 16:58
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.

4 participants

@icewind1991@blizzz@solracsf@Messj1