参考帖子 https://www.cnblogs.com/lzpong/p/6433189.html
cat /etc/nginx/config/*.conf里有具体的证书存放路径
cd ~ //到家目录里
wget https://dl.eff.org/certbot-auto //下载角本
chmod a+x certbot-auto //加权限
service nginx stop 或者 systemctl stop nginx 或者 pkill -9 nginx //停止nginx
./certbot-auto renew --force-renew //签名证书
service nginx start 或者 systemctl start nginx //启动nginx
netstart -tpln