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.
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.
Procedure for Replacing a Node's Certificate
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.
See Also
MariaDB Enterprise Cluster Security (Enable TLS without Downtime)
This page is licensed: CC BY-SA / Gnu FDL
Last updated
Was this helpful?

