Nginx使用Certbot自动获取、更新SSL证书
安装Certbot
yum install epel-release -y
yum install snapd -y
systemctl enable --now snapd
ln -s /var/lib/snapd/snap /snap
# 删除其它版本,避免冲突;如果有的话
yum remove certbot
snap install --classic certbot
ln -s /snap/bin/certbot /usr/bin/certbot
错误处理
使用
最后更新于