fix(redis): harden TLS tests and surface TLS config at startup

Isolate Redis TLS unit tests from parent-process env vars and log
REDIS_USE_TLS settings at boot so misconfiguration is easier to spot.
This commit is contained in:
wizardchen
2026-07-06 23:03:25 +08:00
committed by lyingbug
parent d5b8d2f886
commit 4f2dca0b63
3 changed files with 18 additions and 1 deletions
+1
View File
@@ -229,6 +229,7 @@ REDIS_PREFIX=stream:
# 可选:用于证书校验与 SNI 的服务器名(当地址是 IP 时有用)
# REDIS_TLS_SERVER_NAME=
# 跳过服务器证书校验。不安全,仅用于开发或自签名证书环境,生产禁用。
# 私有 CA 签发的证书目前无法通过自定义 CA 文件校验,只能临时使用 skip-verify(开发环境)。
# REDIS_TLS_INSECURE_SKIP_VERIFY=false
# 当使用本地存储时,文件保存的基础目录路径