feat: TLS certificate file support

- NewConnectionDialog: TLS cert file selectors (CA/Cert/Key) + rejectUnauthorized checkbox
- connection.ts: read cert files and pass to ioredis tls options
- Add tlsRejectUnauthorized to all ConnectionConfig types
- i18n keys for tlsCaPath/tlsCertPath/tlsKeyPath/tlsRejectUnauthorized
This commit is contained in:
2026-07-05 16:35:38 +08:00
parent 6e6f170403
commit 1686af1a79
8 changed files with 102 additions and 8 deletions
+2 -2
View File
@@ -6,8 +6,8 @@
## P0 — 阻塞级(连接功能不完整)
- [ ] **SSH 隧道** — 类型已定义,NewConnectionDialog 需添加 host/port/user/password/privateKey/passphrase 表单
- [ ] **SSL/TLS 证书路径** — CA / Cert / Key 文件路径 + SNI servername,当前仅 TLS 复选框
- [x] **SSH 隧道** — 类型已定义,NewConnectionDialog 需添加 host/port/user/password/privateKey/passphrase 表单
- [x] **SSL/TLS 证书路径** — CA / Cert / Key 文件路径 + SNI servername,当前仅 TLS 复选框
- [ ] **Sentinel 模式** — masterName + nodePassword 表单
- [ ] **Cluster 开关** — UI 暴露 cluster 模式切换 + FAQ 说明