For the complete documentation index, see llms.txt. This page is also available as Markdown.

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

  1. 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.

  2. 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.

  3. 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?