关于快速申请ssl证书
关于快速申请ssl证书
- 安装snap
apt install snapd
- 安装Certbot
sudo snap install --classic certbot
- 设置软连接
sudo ln -s /snap/bin/certbot /usr/bin/certbot
- nginx自动配置证书
sudo certbot --nginx
# 👇 仅申请证书
sudo certbot certonly --nginx
- 设置自动续期
sudo certbot renew --dry-run
本文是原创文章,采用 CC BY-NC-ND 4.0 协议,完整转载请注明来自 EnderKC
评论
匿名评论
隐私政策
你无需删除空行,直接评论以获取最佳展示效果