updated default value for redis ssl config
This commit is contained in:
parent
b2b5573a61
commit
b92f543833
@ -550,7 +550,7 @@ redis:
|
||||
password: "${REDIS_PASSWORD:}"
|
||||
# ssl config
|
||||
ssl:
|
||||
enabled: "${TB_REDIS_SSL_ENABLED:true}"
|
||||
enabled: "${TB_REDIS_SSL_ENABLED:false}"
|
||||
truststoreLocation: "${TB_REDIS_SSL_TRUSTSTORE_LOCATION:}"
|
||||
truststorePassword: "${TB_REDIS_SSL_TRUSTSTORE_PASSWORD:}"
|
||||
# client authentication could be optional and depends on redis server configuration
|
||||
|
||||
@ -40,7 +40,7 @@ public class TBRedisClusterConfiguration extends TBRedisCacheConfiguration {
|
||||
@Value("${redis.password:}")
|
||||
private String password;
|
||||
|
||||
@Value("${redis.ssl.enabled:}")
|
||||
@Value("${redis.ssl.enabled:false}")
|
||||
private boolean useSsl;
|
||||
|
||||
public JedisConnectionFactory loadFactory() {
|
||||
|
||||
@ -43,7 +43,7 @@ public class TBRedisSentinelConfiguration extends TBRedisCacheConfiguration {
|
||||
@Value("${redis.db:}")
|
||||
private Integer database;
|
||||
|
||||
@Value("${redis.ssl.enabled:}")
|
||||
@Value("${redis.ssl.enabled:false}")
|
||||
private boolean useSsl;
|
||||
|
||||
@Value("${redis.password:}")
|
||||
|
||||
@ -57,7 +57,7 @@ public class TBRedisStandaloneConfiguration extends TBRedisCacheConfiguration {
|
||||
@Value("${redis.password:}")
|
||||
private String password;
|
||||
|
||||
@Value("${redis.ssl.enabled:}")
|
||||
@Value("${redis.ssl.enabled:false}")
|
||||
private boolean useSsl;
|
||||
|
||||
public JedisConnectionFactory loadFactory() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user