更新 ACME协议自动获取和续订TLS证书

X
2025-08-18 15:43:09 +00:00
parent 669d5c1ab6
commit 32f683a1e3

@@ -18,4 +18,10 @@ curl https://get.acme.sh | sh -s email=XXX@outlook.com
- 设定时任务,检查证书到期后自动续订:crontab -e 添加以下任务 - 设定时任务,检查证书到期后自动续订:crontab -e 添加以下任务
``` ```
0 */12 * * * ~/.acme.sh/acme.sh --cron --home ~/.acme.sh 0 */12 * * * ~/.acme.sh/acme.sh --cron --home ~/.acme.sh
```
- 手动更新
```
#关闭占用80端口的应用完成后再打开
acme.sh --renew -d xxx.ai-life.net
``` ```