Skip to content

[bitnami/mysql] MySQL SSL does not workΒ #76136

@danthonywalker

Description

@danthonywalker

Name and Version

bitnami/mysql:9.0.1@sha256:48ce690effadbc5042c7f3edddeac50baf190d59a438b6a92ed714c3dea1ea19

What architecture are you using?

arm64

What steps will reproduce the bug?

Similar to #76032 , but using MYSQL_CLIENT_SSL_* environment variables instead and of course setting MYSQL_CLIENT_ENABLE_SSL to yes.

What is the expected behavior?

Clients are able to and/or required to use SSL.

What do you see instead?

SSL is simply not enabled. There are multiple ways to confirm this:
Despite all environment variables being set:

$ docker exec -it mysql /bin/sh
$ echo "${MYSQL_CLIENT_ENABLE_SSL}\n${MYSQL_CLIENT_SSL_CA_FILE}\n${MYSQL_CLIENT_SSL_CERT_FILE}\n${MYSQL_CLIENT_SSL_KEY_FILE}"
yes
/run/tls/ca.crt
/run/tls/leaf.crt
/run/tls/leaf.key

mysql --help reports SSL is not enabled:

ssl-ca                                                 (No default value)
ssl-capath                                             (No default value)
ssl-cert                                               (No default value)
ssl-cipher                                             (No default value)
ssl-key                                                (No default value)

phpMyAdmin similarly says SSL is not enabled.

Additional information

This issue is created to mirror #76032 to track that this issue also applies to MySQL, not just MariaDB. I have bitnami Redis and PostgreSQL set up with SSL without issue, so it's a bummer MySQL is not working properly.

Metadata

Metadata

Assignees

Labels

mysqlon-holdIssues or Pull Requests with this label will never be considered staletech-issuesThe user has a technical issue about an application

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions