grdk37
2025-11-26 22:01:44 +08:00
parent 08b56bba80
commit 8e56b22a75

@@ -66,6 +66,11 @@ wget -O - https://get.acme.sh | sh -s email=my@example.com
acme.sh --issue -d mydomain.com -d www.mydomain.com --webroot /home/wwwroot/mydomain.com/
```
### 支持letsencrypt的ip证书 及certificate profile
```shell
acme.sh --issue -d 203.0.113.195 -w /home/username/public_html --server letsencrypt_test --certificate-profile shortlived --days 6
```
### 使用 Apache 模式
如果你用的 **Apache** 服务器,**acme.sh** 还可以智能的从 **Apache** 的配置中自动完成验证,你不需要指定网站根目录: