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
+4
View File
@@ -30,6 +30,10 @@ export default {
password: '密码',
username: '用户名',
tls: '启用 TLS',
tlsCaPath: 'CA 证书',
tlsCertPath: '客户端证书',
tlsKeyPath: '客户端私钥',
tlsRejectUnauthorized: '验证服务器证书',
ssh: 'SSH 隧道',
sshHost: 'SSH 主机',
sshPort: 'SSH 端口',