• Yossi Gottlieb's avatar
    TLS: Do not require CA config if not used. (#7862) · cb070acc
    Yossi Gottlieb authored
    The tls-ca-cert or tls-ca-cert-dir configuration parameters are only
    used when Redis needs to authenticate peer certificates, in one of these
    scenarios:
    
    1. Incoming clients or replicas, with `tls-auth-clients` enabled.
    2. A replica authenticating the master's peer certificate.
    3. Cluster nodes authenticating other nodes when establishing the bus
       protocol connection.
    
    (cherry picked from commit 1591e347)
    cb070acc
tls.c 28.6 KB