首页 > 服务器    日期:2020-11-04 / 来自互联网 / 浏览

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

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

yum remove epel-release -y

下载脚本:

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

安装依赖:

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

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

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

Saving debug log to /var/log/letsencrypt/letsencrypt.log
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.

觉得上面的内容有用吗?快来点个赞吧!

点赞() 我要打赏

温馨提示 : 本站内容来自会员投稿以及互联网,所有源码及教程均为作者总结编辑,请大家在使用过程中提前做好备份,以免发生无法预知的错误,源码类教程请勿直接用于生产环境!

 可能感兴趣的文章