diff --git a/02. PARA/03. Resources(資源)/Trojan.md b/02. PARA/03. Resources(資源)/Trojan.md index d131c29..754edd2 100644 --- a/02. PARA/03. Resources(資源)/Trojan.md +++ b/02. PARA/03. Resources(資源)/Trojan.md @@ -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,如下圖 - ![[Pasted image 20220815134750.png|500]] \ No newline at end of file +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` \ No newline at end of file diff --git a/attachments/Pasted image 20220815135026.png b/attachments/Pasted image 20220815135026.png new file mode 100644 index 0000000..e519d03 Binary files /dev/null and b/attachments/Pasted image 20220815135026.png differ diff --git a/attachments/Pasted image 20220815135248.png b/attachments/Pasted image 20220815135248.png new file mode 100644 index 0000000..bebbeb3 Binary files /dev/null and b/attachments/Pasted image 20220815135248.png differ