MariaDB container with SSL Enabled?

Hi - I’ve been using linuxserver/mariadb container for a while and it runs very well. TLS support however isn’t enabled for the container. Is it possible to produce a container with this feature?

MariaDB [(none)]> SHOW GLOBAL VARIABLES LIKE 'have_ssl';
+---------------+----------+
| Variable_name | Value    |
+---------------+----------+
| have_ssl      | DISABLED |
+---------------+----------+
1 row in set (0.001 sec)

This is something you would do yourself; in your my.cnf put in your ssl_ca, ssl_key, ssl_cert and possibly ssl_ciphers; restart the server, then check have_ssl again.

You can expose certs into your mariadb container via SWAG using this guidance

unless you’re saying that the repo mariadb isn’t compiled with tls support at all, which would be an upstream issue.

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.