updated default value for redis ssl config

This commit is contained in:
dashevchenko 2023-09-19 12:03:44 +03:00
parent b2b5573a61
commit b92f543833
4 changed files with 4 additions and 4 deletions

View File

@ -550,7 +550,7 @@ redis:
password: "${REDIS_PASSWORD:}" password: "${REDIS_PASSWORD:}"
# ssl config # ssl config
ssl: ssl:
enabled: "${TB_REDIS_SSL_ENABLED:true}" enabled: "${TB_REDIS_SSL_ENABLED:false}"
truststoreLocation: "${TB_REDIS_SSL_TRUSTSTORE_LOCATION:}" truststoreLocation: "${TB_REDIS_SSL_TRUSTSTORE_LOCATION:}"
truststorePassword: "${TB_REDIS_SSL_TRUSTSTORE_PASSWORD:}" truststorePassword: "${TB_REDIS_SSL_TRUSTSTORE_PASSWORD:}"
# client authentication could be optional and depends on redis server configuration # client authentication could be optional and depends on redis server configuration

View File

@ -40,7 +40,7 @@ public class TBRedisClusterConfiguration extends TBRedisCacheConfiguration {
@Value("${redis.password:}") @Value("${redis.password:}")
private String password; private String password;
@Value("${redis.ssl.enabled:}") @Value("${redis.ssl.enabled:false}")
private boolean useSsl; private boolean useSsl;
public JedisConnectionFactory loadFactory() { public JedisConnectionFactory loadFactory() {

View File

@ -43,7 +43,7 @@ public class TBRedisSentinelConfiguration extends TBRedisCacheConfiguration {
@Value("${redis.db:}") @Value("${redis.db:}")
private Integer database; private Integer database;
@Value("${redis.ssl.enabled:}") @Value("${redis.ssl.enabled:false}")
private boolean useSsl; private boolean useSsl;
@Value("${redis.password:}") @Value("${redis.password:}")

View File

@ -57,7 +57,7 @@ public class TBRedisStandaloneConfiguration extends TBRedisCacheConfiguration {
@Value("${redis.password:}") @Value("${redis.password:}")
private String password; private String password;
@Value("${redis.ssl.enabled:}") @Value("${redis.ssl.enabled:false}")
private boolean useSsl; private boolean useSsl;
public JedisConnectionFactory loadFactory() { public JedisConnectionFactory loadFactory() {