acme.sh使用学习
uwupu 啦啦啦啦啦

acme.sh安装

1
curl https://get.acme.sh | sh -s [email protected]

acme.sh使用

配置证书并自动更新、自动安装。(指定证书目录)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# 申请
acme.sh --issue -d aaa.test.com --standalone
# 或webroot方案
acme.sh --issue -d example.com --webroot /path


# 安装配置文件指定路径
acme.sh --install-cert -d aaa.test.com \
--cert-file /home/aaa/cert/test/aaa.crt \
--key-file /home/aaa/cert/test/aaa.key \
--fullchain-file /home/aaa/cert/test/aaa.fullchain.crt \
--reloadcmd "echo '证书已更新!'"



 评论
评论插件加载失败
正在加载评论插件