Reloading TLS Certificates Without Downtime
Reload MariaDB Galera Cluster TLS certificates without restarting a node using FLUSH SSL or socket.ssl_reload, including the atomic file-replacement procedure.
Last updated
Was this helpful?
Reload MariaDB Galera Cluster TLS certificates without restarting a node using FLUSH SSL or socket.ssl_reload, including the atomic file-replacement procedure.
Galera Cluster nodes can pick up new TLS certificates without a restart. Two operator commands trigger a reload:
FLUSH SSL;
Reloads the MariaDB server's TLS context and, when WSREP is active, the Galera provider's too.
SET GLOBAL wsrep_provider_options='socket.ssl_reload=1';
Reloads only the Galera provider's TLS context.
The certificate and key file paths cannot be changed dynamically. Place the updated files at the same paths configured by ssl_cert, ssl_key, and ssl_ca (or the socket.ssl_* provider options).
Write the new certificate and key to disk alongside the existing files.
Atomically replace the files at the configured paths (for example with mv, which is atomic on POSIX — readers see either the old or the new pair, never a torn state).
Run FLUSH SSL; on the node.
Confirm the node is serving the new certificate.
Repeat on each node. No coordinated downtime is required.
MariaDB Enterprise Cluster Security (Enable TLS without Downtime)
This page is licensed: CC BY-SA / Gnu FDL
Last updated
Was this helpful?
Was this helpful?

