vault backup: 2022-08-15 13:58:11
Affected files: 02. PARA/03. Resources(資源)/Trojan.md attachments/Pasted image 20220815135026.png attachments/Pasted image 20220815135248.png
This commit is contained in:
@@ -24,9 +24,15 @@
|
||||
4. Source code: [Releases · trojan-gfw/trojan](https://github.com/trojan-gfw/trojan/releases)
|
||||
|
||||
## 更新憑證
|
||||
1. 先停止 trojan-web
|
||||
1. 更新acme:`acme.sh --upgrade`
|
||||
2. 先停止 trojan-web
|
||||
```bash
|
||||
systemctl stop trojan-web
|
||||
```
|
||||
2. 停止 trojan,如下圖
|
||||
3. 停止 trojan,如下圖
|
||||
![[Pasted image 20220815134750.png|500]]
|
||||
4. 切換到 `/root/.acme.sh`,執行 `./acme.sh --cron -f`,如果憑證更新成功,應該會看到類似如下訊息:
|
||||
![[Pasted image 20220815135026.png|800]]
|
||||
5. 重啟 trojan:
|
||||
![[Pasted image 20220815135248.png|400]]
|
||||
6. 重啟trojan-web:`systemctl start trojan-web`
|
||||
BIN
attachments/Pasted image 20220815135026.png
Normal file
BIN
attachments/Pasted image 20220815135026.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 274 KiB |
BIN
attachments/Pasted image 20220815135248.png
Normal file
BIN
attachments/Pasted image 20220815135248.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 82 KiB |
Reference in New Issue
Block a user