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.
Last updated
Was this helpful?
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.
Trust both CAs. Add the new CA to each node's trust store alongside the old one — either by pointing ssl_capath at a directory containing both CA certificates (processed with openssl rehash), or by using a CA bundle file that contains both. Apply with FLUSH 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.
Do not remove the old CA from trust until every node has been reissued from the new CA. Removing it early will reject nodes still presenting old-CA certificates.
This page is licensed: CC BY-SA / Gnu FDL
Last updated
Was this helpful?
Was this helpful?

