Skip to content

MDEV-16219 Allow automatically generating TLS certificates #405

@Nothing4You

Description

@Nothing4You

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    RequestRequest for image modification or feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions