![]() |
%!s(int64=6) %!d(string=hai) anos | |
---|---|---|
README.md | %!s(int64=6) %!d(string=hai) anos | |
alydns.php | %!s(int64=6) %!d(string=hai) anos | |
au.sh | %!s(int64=6) %!d(string=hai) anos |
为不能自动给自己的 letencrypt 通配符证书自动续期(renew)而烦恼吗?这个工具能够帮忙!
用于自动设置阿里云 DNS 记录,从而配合 certbot 完成证书验证工作(包括通配符、SAN、单域名证书),从而避免人工干预。
1:下载:
$ git clone https://github.com/ywdblog/certbot-letencrypt-wildcardcertificates-alydns-au
$ cd certbot-letencrypt-wildcardcertificates-alydns-au
2:配置:
3:运行 renew 命令(也包括申请证书命令):
# 测试
$ certbot-auto renew --cert-name newyingyong.cn --manual-auth-hook /你的脚本目录/au.sh --dry-run
#renew
$ certbot-auto renew --cert-name newyingyong.cn --manual-auth-hook /你的脚本目录/au.sh