Skip to content

rcbridge: Replace CA certs at the crypto/x509 layer#290

Merged
chenxiaolong merged 1 commit into
masterfrom
override-ca-cert
May 27, 2026
Merged

rcbridge: Replace CA certs at the crypto/x509 layer#290
chenxiaolong merged 1 commit into
masterfrom
override-ca-cert

Conversation

@chenxiaolong
Copy link
Copy Markdown
Owner

Hooking per-request via rclone's fshttp happens too late and ends up overriding the user's override.ca_cert configuration if set. Instead, systemRoots in golang's crypto/x509 now gets replaced directly. This eliminates the need to have a fork of rclone too.

Fixes: #287

Hooking per-request via rclone's fshttp happens too late and ends up
overriding the user's override.ca_cert configuration if set. Instead,
systemRoots in golang's crypto/x509 now gets replaced directly. This
eliminates the need to have a fork of rclone too.

Fixes: #287

Signed-off-by: Andrew Gunnerson <accounts+github@chiller3.com>
@chenxiaolong chenxiaolong self-assigned this May 27, 2026
@chenxiaolong chenxiaolong merged commit 852a841 into master May 27, 2026
1 check passed
chenxiaolong added a commit that referenced this pull request May 27, 2026
Signed-off-by: Andrew Gunnerson <accounts+github@chiller3.com>
@chenxiaolong chenxiaolong deleted the override-ca-cert branch May 27, 2026 03:08
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.

Add ca_cert pinning capability

1 participant