Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

base: handle unknown certificate authority error #80

Merged
merged 1 commit into from
Oct 30, 2021

Conversation

garrmcnu
Copy link
Contributor

If a request fails with "x509: certificate signed by unknown authority", return the error to avoid retrying indefinitely.

Fixes #75

If a request fails with "x509: certificate signed by unknown authority",
return the error to avoid retrying indefinitely.

Fixes kurin#75
@kurin
Copy link
Owner

kurin commented Oct 30, 2021

Thanks for this! Restic should probably be using the s3 interface to b2 by now though, cc @fd0

@kurin kurin merged commit c089402 into kurin:master Oct 30, 2021
@garrmcnu garrmcnu deleted the unknown-authority-error branch October 31, 2021 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Infinite loop in NewClient() if system certificates are not installed
2 participants