锦方的个人网页 · 如果有一天你突然想起了我


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

  1. Nginx on CentOS7续ssl证书 (当前)
  2. 升级debian9后导致shadowsocks2.8.2启动报未定义符号

下一篇推荐

系列继续阅读

升级debian9后导致shadowsocks2.8.2启动报未定义符号