Responding to a Key or Certificate Compromise
Respond to a compromised MariaDB Galera Cluster node key or certificate by revoking via CRL or reissuing from a new CA, applied online with hot reload.
Last updated
Was this helpful?
Respond to a compromised MariaDB Galera Cluster node key or certificate by revoking via CRL or reissuing from a new CA, applied online with hot reload.
If a node's private key or certificate is compromised, the goal is to stop trusting it across the cluster as quickly as possible. There are two approaches, which can be combined.
Only the SERVER_X509 TLS mode requests and verifies peer certificates (the SERVER mode encrypts traffic but does not request a peer certificate), so a CRL applies only in SERVER_X509. In that mode, inter-node TLS uses the server's TLS configuration, which supports a CRL through the ssl_crl (file) and ssl_crlpath (directory) system variables.
Add the compromised certificate to the CRL and distribute the updated CRL to every node.
Run FLUSH SSL; on each node so the new CRL takes effect.
CRL checking applies to inter-node traffic only in the SERVER_X509 TLS mode, which is the only mode that requests and verifies peer certificates.
For a CA-key compromise, or to invalidate a certificate without relying on CRL distribution, rotate the cluster CA and reissue all node certificates. See Cluster CA Rotation.
This page is licensed: CC BY-SA / Gnu FDL
Last updated
Was this helpful?
Was this helpful?

