I am using Redis with TLS enabled, configured through the tls-cert-file, tls-key-file, and tls-ca-cert-file settings. I understand that to rotate these certificates, I need to update the certificate and key files. However, during this process, the client's connection needs to be re-established using the new CA certificate, which could potentially result in downtime.
I am seeking advice on how to rotate Redis TLS certificates without causing any downtime. What are the best practices or strategies for ensuring a smooth certificate rotation process while maintaining continuous service availability?
Similar to memorystore of GCP, maybe there be a way to have multiple server certificates at the same time. If so, it's possible to first update the client's connection and after that, retired the old TLS configuration.
From the redis-cli, redis servers (not sentinels) can use
Once the commands are executed, the server now works with newly provided certs.
Config docs: https://redis.io/docs/management/config-file/