mxyes 发表于 2018-3-8 11:11:08

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

创建虚拟站点的时候,选择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!



licess 发表于 2018-3-10 09:24:21

你自己设置的pip.conf有问题,要使用阿里云的pip源的话重新
cat > ~/.pip/pip.conf <<EOF

index-url = https://mirrors.aliyun.com/pypi/simple/

trusted-host=pypi.doubanio.com
EOF
设置一下pip应该就可以
页: [1]
查看完整版本: 申请ssl证书的有这个提示,请问怎么解决?