certbot
阿里云脚本自动续期https
sudo apt-get update
sudo apt-get install software-properties-common
sudo add-apt-repository universe
sudo add-apt-repository ppa:certbot/certbot
sudo apt-get update
sudo apt-get install python-certbot-nginx
加 --dry-run 测试命令
sudo certbot certonly -i nginx -d "*.wbget.com" -d wbget.com --manual --preferred-challenges dns --manual-auth-hook '脚本地址'
/etc/letsencrypt/live/wbget.com/fullchain.pem
/etc/letsencrypt/live/wbget.com/privkey.pem
sudo certbot renew -i nginx --manual --preferred-challenges dns --manual-auth-hook '脚本地址'
certbot certificates
参考:
https://www.jianshu.com/p/122894787128
https://www.jianshu.com/p/074e147b68b0
网友评论