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

fix: pin root CA instead of intermediate CA in thanos-tls-querier #2892

Merged
merged 2 commits into from
Aug 5, 2024

Conversation

malvex
Copy link
Contributor

@malvex malvex commented Aug 2, 2024

This PR replaces intermediate CA cert (R3) with root CA cert (X1).

In thanos-tls-querier, an intermediate CA cert (R3) was pinned. However, when cert-manager requested a new certificate issued by a higher-level CA (R11), it caused an error transport: authentication handshake failed: x509: certificate signed by unknown authority.

In general, intermediate certificates shouldn't be pinned; instead, root certificates should be pinned (e.g., LetsEncrypt X1 root CA). This ensures that the trust chain is maintained when certificates are updated or replaced.

@malvex malvex requested a review from a team as a code owner August 2, 2024 15:20
@malvex malvex requested review from ArchiFleKs and rguichard and removed request for a team August 2, 2024 15:20
@ArchiFleKs ArchiFleKs merged commit 6105a8f into particuleio:main Aug 5, 2024
13 checks passed
Copy link

github-actions bot commented Aug 5, 2024

🎉 This PR is included in version 16.5.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@malvex malvex deleted the patch-1 branch August 5, 2024 11:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants