gpt4 book ai didi

ssl - Cfy Bootstrap 简单管理器 SSL 证书失败

转载 作者:太空宇宙 更新时间:2023-11-03 14:08:20 24 4
gpt4 key购买 nike

我在公司代理后面的 Centos7 系统上有问题

cfy bootstrap --install-plugins -p /opt/cfy/cloudify-manager-blueprints-commercial/simple-manager-blueprint.yaml -i /opt/cfy/cloudify-manager-blueprints-commercial/simple-manager-blueprint-inputs.yaml 

返回

SSL: CERTIFICATE_VERIFY_FAILED

env http_proxy 和 https_proxy 已设置,我已导出

CLOUDIFY_SSL_TRUST_ALL=true;
Collecting https://github.com/cloudify-cosmo/cloudify-fabric-plugin/archive/1.3.1.zip (from -r /tmp/requirements_oUJf1I.txt (line 1))Command 'pip install -r /tmp/requirements_oUJf1I.txt' executed with an error.code: 2error: Exception:Traceback (most recent call last):  File "/opt/cfy/env/lib/python2.7/site-packages/pip/basecommand.py", line 209, in main    status = self.run(options, args)  File "/opt/cfy/env/lib/python2.7/site-packages/pip/commands/install.py", line 310, in run    wb.build(autobuilding=True)  File "/opt/cfy/env/lib/python2.7/site-packages/pip/wheel.py", line 748, in build    self.requirement_set.prepare_files(self.finder)  File "/opt/cfy/env/lib/python2.7/site-packages/pip/req/req_set.py", line 360, in prepare_files    ignore_dependencies=self.ignore_dependencies))  File "/opt/cfy/env/lib/python2.7/site-packages/pip/req/req_set.py", line 577, in _prepare_file    session=self.session, hashes=hashes)  File "/opt/cfy/env/lib/python2.7/site-packages/pip/download.py", line 810, in unpack_url    hashes=hashes  File "/opt/cfy/env/lib/python2.7/site-packages/pip/download.py", line 649, in unpack_http_url    hashes)  File "/opt/cfy/env/lib/python2.7/site-packages/pip/download.py", line 842, in _download_http_url    stream=True,  File "/opt/cfy/env/lib/python2.7/site-packages/pip/_vendor/requests/sessions.py", line 480, in get    return self.request('GET', url, **kwargs)  File "/opt/cfy/env/lib/python2.7/site-packages/pip/download.py", line 378, in request    return super(PipSession, self).request(method, url, *args, **kwargs)  File "/opt/cfy/env/lib/python2.7/site-packages/pip/_vendor/requests/sessions.py", line 468, in request    resp = self.send(prep, **send_kwargs)  File "/opt/cfy/env/lib/python2.7/site-packages/pip/_vendor/requests/sessions.py", line 576, in send    r = adapter.send(request, **kwargs)  File "/opt/cfy/env/lib/python2.7/site-packages/pip/_vendor/cachecontrol/adapter.py", line 46, in send    resp = super(CacheControlAdapter, self).send(request, **kw)  File "/opt/cfy/env/lib/python2.7/site-packages/pip/_vendor/requests/adapters.py", line 447, in send    raise SSLError(e, request=request)SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:765)output: None

最佳答案

如果不查看蓝图和 inputs.yaml(在删除所有凭据之后),很难知道出了什么问题。

如果没有更多数据,我会简单地尝试导出

CLOUDIFY_SSL_TRUST_ALL=True;

如果有用请告诉我

关于ssl - Cfy Bootstrap 简单管理器 SSL 证书失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36643796/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com