-
I created an Redis instance in Upstash with TLS/SSL connection enabled. I searched about how to use redis4cats with TLS/SSL enabled but I couldn't find anything. When using Jedis from Java, for example we can connect like this public static void main(String[] args) {
Jedis jedis = new Jedis("localhost", 6379, true);
jedis.auth("********");
jedis.set("foo", "bar");
String value = jedis.get("foo");
} There's any way to use redis4cats with TLS/SSL enabled? If there's no way, is it hard to improve the library to support this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @cl3t0 , Have you tried passing the uri, as explained in example 3 : Using the custom connection: |
Beta Was this translation helpful? Give feedback.
Hi @cl3t0 ,
Have you tried passing the uri, as explained in example 3 :
https://github.com/lettuce-io/lettuce-core/wiki/SSL-Connections
Using the custom connection:
https://github.com/anujmax/redis4cats/blob/series/1.x/modules/effects/src/main/scala/dev/profunktor/redis4cats/redis.scala#L191