From b33945d21c60093f541201a1e7d4114a20409cdc Mon Sep 17 00:00:00 2001
From: Klaus <klaus@vividnext.co.kr>
Date: Mon, 2 Dec 2024 19:47:32 +0900
Subject: [PATCH] =?UTF-8?q?Redisson=20Config=20-=20ssl=20=EC=84=A4?=
 =?UTF-8?q?=EC=A0=95?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .../kotlin/kr/co/vividnext/sodalive/configs/RedisConfig.kt    | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/main/kotlin/kr/co/vividnext/sodalive/configs/RedisConfig.kt b/src/main/kotlin/kr/co/vividnext/sodalive/configs/RedisConfig.kt
index 0f0cdf3..3e70211 100644
--- a/src/main/kotlin/kr/co/vividnext/sodalive/configs/RedisConfig.kt
+++ b/src/main/kotlin/kr/co/vividnext/sodalive/configs/RedisConfig.kt
@@ -33,7 +33,9 @@ class RedisConfig(
     fun redissonClient(): RedissonClient {
         val config = Config()
         config.useSingleServer()
-            .setAddress("redis://$host:$port")
+            .setAddress("rediss://$host:$port")
+            .setSslEnableEndpointIdentification(true)
+            .setSslTruststore(null)
             .setConnectionMinimumIdleSize(1)
             .setConnectionPoolSize(5)
         return Redisson.create(config)