feat: 支持 MySQL 公网 TLS CA 校验 (#86)
This commit is contained in:
@@ -25,6 +25,11 @@ database:
|
||||
name: autobuy
|
||||
user: buy
|
||||
|
||||
# 本机/SSH 隧道使用 disabled。公网直连必须使用 verify_ca,加载服务器公开 CA,
|
||||
# 强制 TLS 1.2+ 并验证证书链,连接失败时不会退回明文。
|
||||
tls_mode: disabled
|
||||
tls_ca: certs/mysql84-ca.pem
|
||||
|
||||
# `[必须]` 数据库密码也是明文配置,必须加引号;config.yaml 只能留在
|
||||
# 运行机器上,不得提交、打包、截图或粘贴到工单和日志。
|
||||
password: "你的 MySQL 密码"
|
||||
|
||||
Reference in New Issue
Block a user