Cluster CA Rotation
Migrate a MariaDB Galera Cluster to a new Certificate Authority without downtime using a dual-trust bundle, then retire the old CA.
Migrating to a new Certificate Authority without downtime relies on a dual-trust window, during which nodes trust both the old and the new CA.
Procedure
Trust both CAs. Add the new CA to each node's trust store alongside the old one — either by pointing
ssl_capathat a directory containing both CA certificates (processed withopenssl rehash), or by using a CA bundle file that contains both. Apply withFLUSH SSL;on each node so both CAs are trusted before any new certificate is issued.Reissue node certificates from the new CA, one node at a time, replacing the files at their configured paths and running
FLUSH SSL;. Because every node still trusts the old CA, nodes with old and new certificates interoperate throughout.Retire the old CA. Once every node presents a certificate signed by the new CA, remove the old CA from the trust store and run
FLUSH SSL;on each node.
See Also
This page is licensed: CC BY-SA / Gnu FDL
Last updated
Was this helpful?

