Skip to content

Commit

Permalink
add a bit of change
Browse files Browse the repository at this point in the history
  • Loading branch information
GiaoGiaoCat committed Mar 29, 2024
1 parent 9f6d1d9 commit 8b018e8
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions _posts/2024/2024-03-29-acme.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,19 @@ author: "Victor"
这时候要么重置 x-ui 配置,要么自己手动申请证书。

```bash
# 升级 Acme.sh 到最新版本
~/.acme.sh/acme.sh --upgrade

# 如果你不想手动升级, 可以开启自动升级:
~/.acme.sh/acme.sh --upgrade --auto-upgrade

# 手动强制更新证书
acme.sh --renew -d domain.com -d www.domain.com --force --ecc
```

这个命令会自动把证书放在 `/root/.acme.sh/` 目录下。可以根据需要重命名证书文件,以适配 x-ui 的配置。通过命令行重启 x-ui 即可。


# 参考

* [GetSomeCats/acme.sh脚本使用新cloudflare api令牌申请证书](https://github.com/getsomecat/GetSomeCats/blob/Surge/acme.sh%E8%84%9A%E6%9C%AC%E4%BD%BF%E7%94%A8%E6%96%B0cloudflare%20api%E4%BB%A4%E7%89%8C%E7%94%B3%E8%AF%B7%E8%AF%81%E4%B9%A6.md)

0 comments on commit 8b018e8

Please sign in to comment.