• Jamie Scott's avatar
    Update Redis.conf to improve TLS usability · d28cbaf7
    Jamie Scott authored
    When using TLS with a Redis.conf file the line for TLS reading tls-cert-file redis.crt tls-key-file redis.key is interpreted as one complete directive. I am separating this on two separate lines to improve usability so users do not get the below error.
    
    ubuntu@ip-172-31-29-250:~/redis-6.0-rc1$ ./src/redis-server redis.conf 
    
    *** FATAL CONFIG FILE ERROR ***
    Reading the configuration file, at line 145
    >>> 'tls-cert-file redis.crt tls-key-file redis.key'
    wrong number of arguments
    ubuntu@ip-172-31-29-250:~/redis-6.0-rc1$ vi redis.conf 
    ubuntu@ip-172-31-29-250:~/redis-6.0-rc1$ ./src/redis-server redis.conf 
    23085:C 04 Mar 2020 01:58:12.631 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
    23085:C 04 Mar 2020 01:58:12.631 # Redis version=5.9.101, bits=64, commit=00000000, modified=0, pid=23085, just started
    23085:C 04 Mar 2020 01:58:12.631 # Configuration loaded
    23085:M 04 Mar 2020 01:58:12.632 * Increased maximum number of open files to 10032 (it was originally set to 1024).
    d28cbaf7
redis.conf 78.9 KB