Loading... 1. 安装snapd ``` apt install snapd -y ``` 2. 更新snapd ``` snap install core snap refresh core ``` 3. 清除以前的Certbot OS packages ``` apt remove certbot ``` 4. 安装Certbot ``` snap install --classic certbot ``` 5. 使certbot命令可用 ``` ln -s /snap/bin/certbot /usr/bin/certbot ``` 6. 运行certbot(会临时启动计算机上的Web服务器) ``` certbot certonly --standalone ``` 7. 续签测试 ``` certbot renew --dry-run ``` 完成! 参考链接:[https://certbot.eff.org/lets-encrypt/ubuntubionic-other](https://certbot.eff.org/lets-encrypt/ubuntubionic-other) Last modification:November 21, 2020 © Allow specification reprint Like