Requiring TLS on MariaDB Server
Explains how to enforce encrypted connections globally by enabling the `require_secure_transport` system variable, which rejects any connection attempt not using TLS or a local socket.
Last updated
Was this helpful?
Explains how to enforce encrypted connections globally by enabling the `require_secure_transport` system variable, which rejects any connection attempt not using TLS or a local socket.
Last updated
Was this helpful?
Was this helpful?
[mariadb]
...
ssl_cert = /certs/server-cert.pem
ssl_key = /certs/server-key.pem
ssl_ca = /certs/ca-cert.pem$ sudo systemctl restart mariadb$ sudo mariadbSHOW GLOBAL VARIABLES LIKE 'have_ssl';
+---------------+-------+
| Variable_name | Value |
+---------------+-------+
| have_ssl | YES |
+---------------+-------+