Nginx on CentOS7续ssl证书
证书官网地址: https://certbot.eff.org/#centosrhel7-nginx
用官网的说明方法会报错所以
pip install certbot-nginx
certbot certificates//这句忘记干嘛的了
wget https://dl.eff.org/certbot-auto
chmod a+x certbot-auto
//需要先停止nginx服务
service nginx stop
//获取证书
./certbot-auto certonly --standalone --email [email protected] -d xyt571.com -d www.xyt571.com
//以后自动获取ssl证书
./certbot-auto renew --standalone --email [email protected] -d xyt571.com -d www.xyt571.com
service nginx start
系列:bug
该系列自动来自分类: bug