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

Load server CA certificates from files for client configuration #197

Open
YorikSar opened this issue Mar 15, 2024 · 0 comments
Open

Load server CA certificates from files for client configuration #197

YorikSar opened this issue Mar 15, 2024 · 0 comments

Comments

@YorikSar
Copy link

YorikSar commented Mar 15, 2024

Currently we can only specify CA certificate verbatim for the server certificate validation. For both client and server certificate-key pairs #149 implemented loading them from files and reloading on specified intervals, but there is no such provision for CA certificates.

I'm using cert-manager on Kubernetes to generate all certificates and it automatically renews all of them, including CA certificates, when needed. Its CSI driver then reissues leaf certificates and updates both leaf and CA certificates in containers. All client and server certificates are then refreshed from these files automatically. For CA certificates though I currently have to make sure to update the config and redeploy everything between new CA certificate is generated and the old one is expired, which is rather cumbersome and error-prone.

I think if this is implemented, we could add automatic certificate management to bb-deployments repository to cover all internal communication in Buildbarn with mTLS.

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

No branches or pull requests

1 participant