VPS侦探论坛

 找回密码
 注册
查看: 3610|回复: 1

申请ssl证书的有这个提示,请问怎么解决?

[复制链接]
发表于 2018-3-8 11:11:08 | 显示全部楼层 |阅读模式

创建虚拟站点的时候,选择Let's Encrypt SSL创建证书,但是提示下图错误提示,请问怎么解决????

pip prints the following errors:
=====================================================
Collecting argparse==1.4.0 (from -r /tmp/tmp.pRM8QVUXqY/letsencrypt-auto-requirements.txt (line 11))
  The repository located at mirrors.aliyun.com is not a trusted or secure host and is being ignored. If this repository is available via HTTPS it is recommended to use HTTPS instead, otherwise you may silence this warning and allow it anyways with '--trusted-host mirrors.aliyun.com'.
  Could not find a version that satisfies the requirement argparse==1.4.0 (from -r /tmp/tmp.pRM8QVUXqY/letsencrypt-auto-requirements.txt (line 11)) (from versions: )
No matching distribution found for argparse==1.4.0 (from -r /tmp/tmp.pRM8QVUXqY/letsencrypt-auto-requirements.txt (line 11))
=====================================================

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/install.html#problems-with-python-virtual-environment
for possible solutions.
You may also find some support resources at https://certbot.eff.org/support/ .
Let's Encrypt SSL Certificate create failed!



本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2018-3-10 09:24:21 | 显示全部楼层


你自己设置的pip.conf有问题,要使用阿里云的pip源的话重新
cat > ~/.pip/pip.conf <<EOF
[global]
index-url = https://mirrors.aliyun.com/pypi/simple/
[install]
trusted-host=pypi.doubanio.com
EOF
设置一下pip应该就可以
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-11-18 22:27 , Processed in 0.026243 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表