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

Runtime custom certificate configuration #1044

Open
1 task
rarkins opened this issue Jun 12, 2023 · 5 comments
Open
1 task

Runtime custom certificate configuration #1044

rarkins opened this issue Jun 12, 2023 · 5 comments
Labels
priority-2-important User-visible bugs or very important features status:in-progress Someone is working on implementation type:feature Feature (new functionality)

Comments

@rarkins
Copy link
Member

rarkins commented Jun 12, 2023

It would be ideal if users can configure custom certificates at runtime instead of at build time. e.g. map in a cert using Docker volumes.

For tools which have their own way of being configured with custom certs, it's likely possible, but today we require Ubuntu's update-ca-certificates to be run as root.

This discussion implies it could be feasible for Ubuntu: https://unix.stackexchange.com/questions/688608/is-it-possible-to-install-a-custom-ca-certificate-without-the-ca-certificates-pa

Blocker

@viceice
Copy link
Member

viceice commented Jun 12, 2023

🤔 We already have some docs about runtime install of certs

https://github.com/containerbase/base/blob/main/docs/custom-root-ca.md

@rarkins
Copy link
Member Author

rarkins commented Jun 12, 2023

Is it really enough though?

@viceice
Copy link
Member

viceice commented Jun 12, 2023

should be for most tools

@rarkins
Copy link
Member Author

rarkins commented Jun 12, 2023

So do you think that SSL_CERT_FILE is essentially an equivalent to update-ca-certificates?

@viceice
Copy link
Member

viceice commented Jun 16, 2023

yes, for all tools which use openssl

@viceice viceice added type:feature Feature (new functionality) priority-2-important User-visible bugs or very important features status:in-progress Someone is working on implementation labels Sep 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority-2-important User-visible bugs or very important features status:in-progress Someone is working on implementation type:feature Feature (new functionality)
Projects
None yet
Development

No branches or pull requests

2 participants