Advertisement
Beginner Redis, TLS & Encryption in Redis

What certificate files are required to configure TLS on a Redis server?

Short answer

You generally need a server certificate and its matching private key to identify and authenticate the Redis server itself, plus a certificate authority file used to verify the identity of connecting clients when mutual authentication is enabled, all of which are supplied through…

Save Redis mock interview
Advertisement
AModel answer
You generally need a server certificate and its matching private key to identify and authenticate the Redis server itself, plus a certificate authority file used to verify the identity of connecting clients when mutual authentication is enabled, all of which are supplied through Redis configuration options when starting the server.
Example

tls-cert-file /path/to/redis.crt tls-key-file /path/to/redis.key tls-ca-cert-file /path/to/ca.crt

Real-world example
A DevOps engineer provisions a set of TLS certificates using an internal certificate authority and configures each Redis node to present these certificates to connecting clients, establishing a chain of trust across the environment.
Likely follow-ups
  • Can self signed certificates be used for internal Redis traffic?
  • How often should Redis TLS certificates be rotated?
Related topics