历史

icon
 张宏邦   2022-6-16 下午5:48

差异
History → Now CHANGED
@@ -13,26 +13,24 @@
13
13
1. 在该计算机上,使用文本编辑器打开以下配置文件:
14
14
- 在 Windows 中:%ProgramData%\Acronis\ApiGateway\api_gateway.json
15
15
- 在 Linux 中:/var/lib/Acronis/ApiGateway/api_gateway.json
16
16
1. 找到以下部分:
17
- ```
17
+ ```
18
18
"tls": {
19
19
"cert_file": "cert.pem",
20
20
"key_file": "key.pem",
21
21
"passphrase": "",
22
22
"auto_redirect": false
23
23
}
24
- ```
24
+ ```
25
25
1."cert_file" 行中的引号之间,指定证书文件的完整路径。例如:
26
26
- 在 Windows 中(**注意正斜杠**):"cert_file": "C:/certificate/local-domain.ams.cert"
27
27
-Linux 中:"cert_file": "/home/user/local-domain.ams.cert"
28
28
1."key_file" 行中的引号之间,指定私钥文件的完整路径。例如:
29
29
- 在 Windows 中(**注意正斜杠**):"key_file": "C:/certificate/private.key"
30
30
-Linux 中:"key_file": "/home/user/private.key"
31
31
1. 如果私钥已加密,在 "passphrase" 行中的引号之间,指定私钥密码。例如:"passphrase": "my secret passphrase"
32
32
1. 如果想要通过将所有用户重定向到 HTTPS 来禁止通过 HTTP 访问备份中控台,请将 "auto_redirect" 值从 false 更改为 true。否则,请跳过此步骤。
33
- - api_gateway.json 文件 示例如下:
34
- ![clip-20200715141146.png](/open.file/download?fileNo=353)
35
33
**重要提示!** 请小心操作,切勿意外删除配置文件中的任何逗号、括号和引号。
36
34
1. 保存 api_gateway.json 文件。
37
35
1. 如下所述,重新启动Acronis Service Manager Service 服务 (Acronis 服务管理器服务,而非Acronis 管理服务器服务)。
38
36

旧内容

新内容
 返回