关于部分服务器无法获取Let’s Encrypt的解决方法


近期发现有部分服务器在安装面板时,没有成功下载certbot-auto,导致无法正常获取Let’s Encrypt证书,现提供手动下载安装的方法

卸载可能损坏的epel源(若确定epel源没问题,可跳过):

  1. yum remove epel-release -y

复制代码

下载脚本:

  1. wget -O /www/server/panel/certbot-auto http://download.bt.cn/install/certbot-auto.init -T 5

复制代码

安装依赖:

安装过程可能耗时比较长,大概需要5-10分钟,请耐心等待!

  1. chmod +x /www/server/panel/certbot-auto && /www/server/panel/certbot-auto -n

复制代码

提示以下内容,说明安装成功

  1. Saving debug log to /var/log/letsencrypt/letsencrypt.log
  2. Missing command line flags. For non-interactive execution, you will need to specify a plugin on the command line.  Run with ‘–help plugins’ to see a list of options, and see https://eff.org/letsencrypt-plugins for more detail on what the plugins do and how to use them.

复制代码


转自   https://www.bt.cn/bbs/forum.php?mod=viewthread&tid=3049&extra=page%3D12%26filter%3Dtypeid%26typeid%3D10