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 赞成便可bash
添加完成好稍等10秒左右 Enter, 就能够看到自动申请成功的证书路径和私钥路径: 服务器
我看网上好多说
./certbot-auto renew
, 这种反正我是没成功过。 DNS 方式renew 实际也须要去从新添加验证DNS 的TXT纪录,因此直接 renew会失败。阿里云
./auto-renew.sh
复制代码