add spaces
parent
7a5dee34fa
commit
180f575522
12
说明.md
12
说明.md
|
@ -7,7 +7,7 @@
|
||||||
1. copy 证书到 nginx/apache 或者其他服务
|
1. copy 证书到 nginx/apache 或者其他服务
|
||||||
1. 更新证书
|
1. 更新证书
|
||||||
1. 更新 **acme.sh**
|
1. 更新 **acme.sh**
|
||||||
1. 出错怎么办,如何调试
|
1. 出错怎么办, 如何调试
|
||||||
|
|
||||||
下面详细介绍.
|
下面详细介绍.
|
||||||
|
|
||||||
|
@ -78,11 +78,11 @@ acme.sh --renew -d mydomain.com
|
||||||
注意第二次这里用的是 `--renew`
|
注意第二次这里用的是 `--renew`
|
||||||
|
|
||||||
|
|
||||||
dns 方式的真正强大之处在于可以使用域名解析商提供的api自动添加txt记录完成验证.
|
dns 方式的真正强大之处在于可以使用域名解析商提供的 api 自动添加 txt 记录完成验证.
|
||||||
|
|
||||||
**acme.sh** 目前支持 cloudflare, dnspod, cloudxns, godaddy 以及 ovh 等数十种解析商的自动集成.
|
**acme.sh** 目前支持 cloudflare, dnspod, cloudxns, godaddy 以及 ovh 等数十种解析商的自动集成.
|
||||||
|
|
||||||
以dnspod 为例, 你需要先登录到 dnspod 账号, 生成你的 api id 和api key, 都是免费的.
|
以 dnspod 为例, 你需要先登录到 dnspod 账号, 生成你的 api id 和 api key, 都是免费的.
|
||||||
然后:
|
然后:
|
||||||
```
|
```
|
||||||
export DP_Id="1234"
|
export DP_Id="1234"
|
||||||
|
@ -124,12 +124,12 @@ acme.sh --installcert -d mydomain.com \
|
||||||
|
|
||||||
详细参数请参考: https://github.com/Neilpang/acme.sh#3-install-the-issued-cert-to-apachenginx-etc
|
详细参数请参考: https://github.com/Neilpang/acme.sh#3-install-the-issued-cert-to-apachenginx-etc
|
||||||
|
|
||||||
值得注意的是, 这里指定的所有参数都会被自动记录下来, 并在将来证书自动更新以后,被再次自动调用.
|
值得注意的是, 这里指定的所有参数都会被自动记录下来, 并在将来证书自动更新以后, 被再次自动调用.
|
||||||
|
|
||||||
|
|
||||||
# 4. 更新证书
|
# 4. 更新证书
|
||||||
|
|
||||||
目前证书在 60 天以后会自动更新, 你无需任何操作. 今后有可能会缩短这个时间, 不过都是自动的,你不用关心.
|
目前证书在 60 天以后会自动更新, 你无需任何操作. 今后有可能会缩短这个时间, 不过都是自动的, 你不用关心.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -158,7 +158,7 @@ acme.sh --upgrade --auto-upgrade 0
|
||||||
|
|
||||||
|
|
||||||
# 6. 出错怎么办:
|
# 6. 出错怎么办:
|
||||||
如果出错, 请添加 debug log:
|
如果出错, 请添加 debug log:
|
||||||
|
|
||||||
```
|
```
|
||||||
acme.sh --issue ..... --debug
|
acme.sh --issue ..... --debug
|
||||||
|
|
Loading…
Reference in New Issue