Enabling TLS on MariaDB Server
Step-by-step instructions for configuring MariaDB Server to use TLS by setting system variables like ssl_cert, ssl_key, and ssl_ca in the configuration file.
Overview
Enabling TLS
1
2
System Variable/Option
Description
System Variable/Option
Description
3
4
[mariadb]
ssl_cert = /certs/server-cert.pem
ssl_key = /certs/server-key.pem
ssl_ca = /certs/ca-cert.pem5
sudo systemctl restart mariadbbrew services restart mariadb6
$ sudo mariadb7
SHOW GLOBAL VARIABLES LIKE 'have_ssl';
+---------------+-------+
| Variable_name | Value |
+---------------+-------+
| have_ssl | YES |
+---------------+-------+Last updated
Was this helpful?

