当前位置:论坛首页 > Linux面板 > 求助

宝塔面板安装Let's encrypt 失败了

发表在 Linux面板2017-12-8 09:17 [复制链接] 7 4746


Bootstrapping dependencies for RedHat-based OSes... (you can skip this with --no-bootstrap)
yum is /usr/bin/yum
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Package gcc-4.8.5-16.el7_4.1.x86_64 already installed and latest version
Package augeas-libs-1.4.0-2.el7_4.2.x86_64 already installed and latest version
Package 1penssl-1.0.2k-8.el7.x86_64 already installed and latest version
Package 1penssl-devel-1.0.2k-8.el7.x86_64 already installed and latest version
Package libffi-devel-3.0.13-18.el7.x86_64 already installed and latest version
Package redhat-rpm-config-9.1.0-76.el7.centos.noarch already installed and latest version
Package ca-certificates-2017.2.14-71.el7.noarch already installed and latest version
Package python-2.7.5-58.el7.x86_64 already installed and latest version
Package python-devel-2.7.5-58.el7.x86_64 already installed and latest version
Package python-virtualenv-1.10.1-4.el7.noarch already installed and latest version
Package python-tools-2.7.5-58.el7.x86_64 already installed and latest version
Package python2-pip-8.1.2-5.el7.noarch already installed and latest version
Nothing to do
Creating virtual environment...
Installing Python packages...
Had a problem while installing Python packages.

pip prints the following errors:
===
Collecting argparse==1.4.0 (from -r /tmp/tmp.HZxO0h4b2N/letsencrypt-auto-requirements.txt (line 11))
Downloading https://pypi.doubanio.com/packag ... y2.py3-none-any.whl
Collecting pycparser==2.14 (from -r /tmp/tmp.HZxO0h4b2N/letsencrypt-auto-requirements.txt (line 17))
Downloading https://pypi.doubanio.com/packag ... cparser-2.14.tar.gz (223kB)
Collecting asn1crypto==0.22.0 (from -r /tmp/tmp.HZxO0h4b2N/letsencrypt-auto-requirements.txt (line 21))
Downloading https://pypi.doubanio.com/packag ... y2.py3-none-any.whl (97kB)
Collecting cffi==1.10.0 (from -r /tmp/tmp.HZxO0h4b2N/letsencrypt-auto-requirements.txt (line 24))
Downloading https://pypi.doubanio.com/packag ... nylinux1_x86_64.whl (392kB)
Collecting ConfigArgParse==0.12.0 (from -r /tmp/tmp.HZxO0h4b2N/letsencrypt-auto-requirements.txt (line 61))
Downloading https://pypi.doubanio.com/packag ... Parse-0.12.0.tar.gz (41kB)
Collecting configobj==5.0.6 (from -r /tmp/tmp.HZxO0h4b2N/letsencrypt-auto-requirements.txt (line 63))
Downloading https://pypi.doubanio.com/packag ... figobj-5.0.6.tar.gz
Collecting cryptography==2.0.2 (from -r /tmp/tmp.HZxO0h4b2N/letsencrypt-auto-requirements.txt (line 65))
Downloading https://pypi.doubanio.com/packag ... nylinux1_x86_64.whl (2.2MB)
Collecting enum34==1.1.2 (from -r /tmp/tmp.HZxO0h4b2N/letsencrypt-auto-requirements.txt (line 96))
Downloading https://pypi.doubanio.com/packag ... enum34-1.1.2.tar.gz (46kB)
Collecting funcsigs==1.0.2 (from -r /tmp/tmp.HZxO0h4b2N/letsencrypt-auto-requirements.txt (line 99))
Downloading https://pypi.doubanio.com/packag ... y2.py3-none-any.whl
Collecting idna==2.5 (from -r /tmp/tmp.HZxO0h4b2N/letsencrypt-auto-requirements.txt (line 102))
Downloading https://pypi.doubanio.com/packag ... y2.py3-none-any.whl (55kB)
Collecting ipaddress==1.0.16 (from -r /tmp/tmp.HZxO0h4b2N/letsencrypt-auto-requirements.txt (line 105))
Downloading https://pypi.doubanio.com/packag ... 6-py27-none-any.whl
Collecting linecache2==1.0.0 (from -r /tmp/tmp.HZxO0h4b2N/letsencrypt-auto-requirements.txt (line 108))
Downloading https://pypi.doubanio.com/packag ... y2.py3-none-any.whl
Collecting ordereddict==1.1 (from -r /tmp/tmp.HZxO0h4b2N/letsencrypt-auto-requirements.txt (line 111))
Downloading https://pypi.doubanio.com/packag ... ereddict-1.1.tar.gz
Collecting packaging==16.8 (from -r /tmp/tmp.HZxO0h4b2N/letsencrypt-auto-requirements.txt (line 113))
Downloading https://pypi.doubanio.com/packag ... y2.py3-none-any.whl
Collecting parsedatetime==2.1 (from -r /tmp/tmp.HZxO0h4b2N/letsencrypt-auto-requirements.txt (line 116))
Downloading https://pypi.doubanio.com/packag ... .1-py2-none-any.whl
Collecting pbr==1.8.1 (from -r /tmp/tmp.HZxO0h4b2N/letsencrypt-auto-requirements.txt (line 119))
Downloading https://pypi.doubanio.com/packag ... y2.py3-none-any.whl (89kB)
Collecting pyOpenSSL==16.2.0 (from -r /tmp/tmp.HZxO0h4b2N/letsencrypt-auto-requirements.txt (line 122))
Downloading https://pypi.doubanio.com/packag ... y2.py3-none-any.whl (43kB)


使用道具 举报 只看该作者 回复
发表于 2017-12-8 09:17:39 | 显示全部楼层
Collecting pyparsing==2.1.8 (from -r /tmp/tmp.HZxO0h4b2N/letsencrypt-auto-requirements.txt (line 125))
Downloading https://pypi.doubanio.com/packag ... y2.py3-none-any.whl (54kB)
Collecting pyRFC3339==1.0 (from -r /tmp/tmp.HZxO0h4b2N/letsencrypt-auto-requirements.txt (line 134))
Downloading https://pypi.doubanio.com/packag ... y2.py3-none-any.whl
Collecting python-augeas==0.5.0 (from -r /tmp/tmp.HZxO0h4b2N/letsencrypt-auto-requirements.txt (line 137))
Downloading https://pypi.doubanio.com/packag ... augeas-0.5.0.tar.gz (90kB)
Collecting pytz==2015.7 (from -r /tmp/tmp.HZxO0h4b2N/letsencrypt-auto-requirements.txt (line 139))
Downloading https://pypi.doubanio.com/packag ... y2.py3-none-any.whl (476kB)
Collecting requests==2.12.1 (from -r /tmp/tmp.HZxO0h4b2N/letsencrypt-auto-requirements.txt (line 153))
Downloading https://pypi.doubanio.com/packag ... y2.py3-none-any.whl (574kB)
Collecting six==1.10.0 (from -r /tmp/tmp.HZxO0h4b2N/letsencrypt-auto-requirements.txt (line 156))
Downloading https://pypi.doubanio.com/packag ... y2.py3-none-any.whl
Collecting traceback2==1.4.0 (from -r /tmp/tmp.HZxO0h4b2N/letsencrypt-auto-requirements.txt (line 159))
Downloading https://pypi.doubanio.com/packag ... y2.py3-none-any.whl
Collecting unittest2==1.1.0 (from -r /tmp/tmp.HZxO0h4b2N/letsencrypt-auto-requirements.txt (line 162))
Downloading https://pypi.doubanio.com/packag ... y2.py3-none-any.whl (96kB)
Collecting zope.component==4.2.2 (from -r /tmp/tmp.HZxO0h4b2N/letsencrypt-auto-requirements.txt (line 165))
Downloading https://pypi.doubanio.com/packag ... ponent-4.2.2.tar.gz (546kB)
Collecting zope.event==4.1.0 (from -r /tmp/tmp.HZxO0h4b2N/letsencrypt-auto-requirements.txt (line 167))
Downloading https://pypi.doubanio.com/packag ... .event-4.1.0.tar.gz (476kB)
Collecting zope.interface==4.1.3 (from -r /tmp/tmp.HZxO0h4b2N/letsencrypt-auto-requirements.txt (line 169))
Downloading https://pypi.doubanio.com/packag ... erface-4.1.3.tar.gz (141kB)
Collecting mock==1.3.0 (from -r /tmp/tmp.HZxO0h4b2N/letsencrypt-auto-requirements.txt (line 188))
Downloading https://pypi.doubanio.com/packag ... y2.py3-none-any.whl (56kB)
Collecting letsencrypt==0.7.0 (from -r /tmp/tmp.HZxO0h4b2N/letsencrypt-auto-requirements.txt (line 199))
Downloading https://pypi.doubanio.com/packag ... .0-py2-none-any.whl
Collecting certbot==0.20.0 (from -r /tmp/tmp.HZxO0h4b2N/letsencrypt-auto-requirements.txt (line 203))
Could not find a version that satisfies the requirement certbot==0.20.0 (from -r /tmp/tmp.HZxO0h4b2N/letsencrypt-auto-requirements.txt (line 203)) (from versions: 0.6.0, 0.7.0, 0.8.0, 0.8.1, 0.9.0, 0.9.1, 0.9.2, 0.9.3, 0.10.0, 0.10.1, 0.10.2, 0.11.0, 0.11.1, 0.12.0, 0.13.0, 0.14.0, 0.14.1, 0.14.2, 0.15.0, 0.16.0, 0.17.0, 0.18.0, 0.18.1, 0.18.2, 0.19.0)
No matching distribution found for certbot==0.20.0 (from -r /tmp/tmp.HZxO0h4b2N/letsencrypt-auto-requirements.txt (line 203))

Certbot has problem setting up the virtual environment.

We were not be able to guess the right solution from your pip
output.

Consult https://certbot.eff.org/docs/ins ... virtual-environment
for possible solutions.
You may also find some support resources at https://certbot.eff.org/support/ .
Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository epel is listed more than once in the configuration
使用道具 举报 回复 支持 反对
发表于 2017-12-8 09:26:03 | 显示全部楼层
进入ssh输入以下命令 然后再申请试试
  1. mv ~/.pip/pip.conf ~/.pip/pip.conf.bak
复制代码

使用道具 举报 回复 支持 反对
发表于 2017-12-8 09:55:45 | 显示全部楼层
河妖 发表于 2017-12-8 09:26
进入ssh输入以下命令 然后再申请试试

状态一直是正在校验域名,请稍后..
半天了还是那个状态,这个是正常的吗
使用道具 举报 回复 支持 反对
发表于 2017-12-8 10:07:43 | 显示全部楼层
河妖 发表于 2017-12-8 09:26
进入ssh输入以下命令 然后再申请试试

已经成功了,谢谢
使用道具 举报 回复 支持 反对
发表于 2017-12-8 10:09:40 | 显示全部楼层
河妖 发表于 2017-12-8 09:26
进入ssh输入以下命令 然后再申请试试

但是通过https访问显示的是不安全的链接
使用道具 举报 回复 支持 反对
发表于 2017-12-8 10:12:13 | 显示全部楼层
河妖 发表于 2017-12-8 09:26
进入ssh输入以下命令 然后再申请试试

提示您访问站点的安全证书名称无效或者与站点名称不匹配
使用道具 举报 回复 支持 反对
发表于 2018-6-18 09:43:16 | 显示全部楼层
怎么在ssh输入命令,找不到输入条
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

企业版年付运维跟进群

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急问题处理

论坛响应时间:10分钟

问题处理方式:1对1处理(优先)

工作时间:白班:9:00 - 18:00

工作时间:晚班:18:00 - 24:00

立即付费处理
快速回复 返回顶部 返回列表