Let’s Encrypt 泛域名 证书申请 及自动更新git
关键字:SSL证书、HTTPSgithub
wget https://dl.eff.org/certbot-auto chmod a+x certbot-auto ./certbot-auto
./certbot-auto certonly -d *.你的域名 --manual --preferred-challenges dns
./certbot-auto certonly -d *.butukeji.com --manual --preferred-challenges dns
输入Y 赞成便可web
添加完成好稍等10秒左右 Enter, 就能够看到自动申请成功的证书路径和私钥路径:
bash
我看网上好多说
./certbot-auto renew
, 这种反正我是没成功过。
DNS 方式renew 实际也须要去从新添加验证DNS 的TXT纪录,因此直接 renew会失败。服务器
./auto-renew.sh