更新 linux基础/acm.sh生成免费证书.md

This commit is contained in:
iProbe 2024-03-04 14:42:19 +08:00
parent cb08c33f77
commit 1190e77b58

View file

@ -17,5 +17,5 @@ acme.sh --install-cert --issue --dns dns_ali -d xhupo.com -d *.xhupo.com --key-
# 生成证书 # 生成证书
acme.sh --issue -d xhupo.com -d www.xhupo.com --webroot /usr/share/nginx/html/xhupo/ acme.sh --issue -d xhupo.com -d www.xhupo.com --webroot /usr/share/nginx/html/xhupo/
# 安装证书 # 安装证书
acme.sh --install-cert --key-file /etc/nginx/ssl/xhupo.com.key --fullchain-file /etc/nginx/ssl/xhupo.com.pem --reloadcmd "nginx -s reload" acme.sh --install-cert -d xhupo.com --key-file /etc/nginx/ssl/xhupo.com.key --fullchain-file /etc/nginx/ssl/xhupo.com.pem --reloadcmd "nginx -s reload"
``` ```