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

MDEV-16219 Allow automatically generating TLS certificates #405

Open
Nothing4You opened this issue Jan 3, 2022 · 2 comments
Open

MDEV-16219 Allow automatically generating TLS certificates #405

Nothing4You opened this issue Jan 3, 2022 · 2 comments
Labels
Request Request for image modification or feature

Comments

@Nothing4You
Copy link

The mysql image automatically generates TLS certificates on startup if there is no key present.
It would be useful to have this functionality in the mariadb image as well, especially for testing in CI runs.

For example using GitHub Actions service containers does not provide an easy way to bring your own pre-generated certificates from your repository.

https://github.com/docker-library/mysql/blob/37cf4047a0544046c9ecce8f2885d4f362a227bc/template/docker-entrypoint.sh#L200-L205

As there does not seem to be an equivalent mariadb_ssl_rsa_setup this would probably need certificates generated explicitly via e.g. openssl.

@grooverdan grooverdan changed the title Allow automatically generating TLS certificates MDEV-16219 Allow automatically generating TLS certificates Jan 4, 2022
@grooverdan
Copy link
Member

Good idea. From MDEV-16219 its obviously an outstanding feature request that has been there a while. I can't say when I get to it but making the feature available for test and production systems sounds like a really good feature.

For your Nothing4You/aiomysql#1, you may be interested in https://mariadb.org/new-service-quay-io-mariadb-foundation-mariadb-devel/

@grooverdan grooverdan added the Request Request for image modification or feature label Feb 3, 2022
@grooverdan
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Request Request for image modification or feature
Development

No branches or pull requests

2 participants