acme.sh - 从letsencrypt生成免费的证书 Linux教程 主机域名


https://github.com/acmesh-official/acme.sh

https://hub.docker.com/r/neilpang/acme.sh

https://github.com/acmesh-official/acme.sh/wiki/Run-acme.sh-in-docker


git clone https://github.com/acmesh-official/acme.sh.git

cd acme.sh

./acme.sh --install  \

--home ~/myacme \

--config-home ~/myacme/data \

--cert-home  ~/mycerts \

--accountemail  "my@example.com" \

--accountkey  ~/myaccount.key \

--accountconf ~/myaccount.conf \

--useragent  "this is my client."




---更新 acme.sh

-目前由于 acme 协议和 letsencrypt CA 都在频繁的更新, 因此 acme.sh 也经常更新以保持同步.

-升级 acme.sh 到最新版 :

acme.sh --upgrade

-如果你不想手动升级, 可以开启自动升级:

acme.sh  --upgrade  --auto-upgrade

-你也可以随时关闭自动更新:

acme.sh --upgrade  --auto-upgrade  0


签名:这个人很懒,什么也没有留下!
最新回复 (0)
返回