Optional SSL/TLS for Redis

Currently, it's not possible to connect to Redis with a password but without TLS since it's enforced in the RedisCache constructor:

RedisURI uri = RedisURI.Builder.redis(host, port).withTimeout(expTimeSeconds, TimeUnit.SECONDS).withPassword(password).withDatabase(database).withSsl(true)

https://community.opengroup.org/osdu/platform/system/lib/core/os-core-common/-/blob/master/src/main/java/org/opengroup/osdu/core/common/cache/RedisCache.java#L50

Since there exist environments with encryption provided at the infra level (as an example ISTIO with mtls), we'd like to make SSL enabling for Redis connections optional.

Assignee Loading
Time tracking Loading