新增ca认证登录配置公钥配对的私钥

This commit is contained in:
TsMask
2023-08-23 17:19:38 +08:00
parent 96de169777
commit 8148a77de6
4 changed files with 22 additions and 1 deletions

View File

@@ -37,6 +37,9 @@ type Config struct {
// FTP文件服务
FTPRoot string `json:"ftp_root"`
// 登录认证公钥
PublicKey string `json:"public_key"`
//证书配置
CA struct {
RootCert string `json:"root_cert"` //root CA证书存放路径