Redis › TLS & Encryption in Redis

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

Beginner

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

Common follow-ups: Can self signed certificates be used for internal Redis traffic?;How often should Redis TLS certificates be rotated?