我的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;


收集https://github.com/cloudify-cosmo/cloudify-fabric-plugin/archive/1.3.1.zip(来自-r /tmp/requirements_oUJf1I.txt(第1行))
执行命令'pip install -r /tmp/requirements_oUJf1I.txt'时出错。
代码:2
错误:异常:
追溯(最近一次通话):
  主目录中的第209行“ /opt/cfy/env/lib/python2.7/site-packages/pip/basecommand.py”
    状态= self.run(选项,参数)
  运行中的文件“ /opt/cfy/env/lib/python2.7/site-packages/pip/commands/install.py”,第310行
    wb.build(autobuilding =真)
  在构建中,文件“ /opt/cfy/env/lib/python2.7/site-packages/pip/wheel.py”,第748行
    self.requirement_set.prepare_files(self.finder)
  在prepare_files中的第360行中输入文件“ /opt/cfy/env/lib/python2.7/site-packages/pip/req/req_set.py”
    ignore_dependencies = self.ignore_dependencies))
  _prepare_file中第577行的文件“ /opt/cfy/env/lib/python2.7/site-packages/pip/req/req_set.py”
    session = self.session,hash = hash)
  文件“ /opt/cfy/env/lib/python2.7/site-packages/pip/download.py”,行810,位于unpack_url中
    哈希=哈希
  在Unpack_http_url的第649行,文件“ /opt/cfy/env/lib/python2.7/site-packages/pip/download.py”
    哈希)
  _download_http_url中的文件“ /opt/cfy/env/lib/python2.7/site-packages/pip/download.py”,第842行
    流=真,
  在获取的文件“ /opt/cfy/env/lib/python2.7/site-packages/pip/_vendor/requests/sessions.py”中,行480
    返回self.request('GET',url,** kwargs)
  请求中的文件“ /opt/cfy/env/lib/python2.7/site-packages/pip/download.py”,行378
    返回super(PipSession,self).request(方法,URL,* args,** kwargs)
  请求中的文件“ /opt/cfy/env/lib/python2.7/site-packages/pip/_vendor/requests/sessions.py”,行468
    resp = self.send(准备,** send_kwargs)
  发送中的文件“ /opt/cfy/env/lib/python2.7/site-packages/pip/_vendor/requests/sessions.py”,行576
    r = adapter.send(request,** kwargs)
  发送中的文件“ /opt/cfy/env/lib/python2.7/site-packages/pip/_vendor/cachecontrol/adapter.py”,第46行
    resp = super(CacheControlAdapter,self).send(request,** kw)
  发送中的文件“ /opt/cfy/env/lib/python2.7/site-packages/pip/_vendor/requests/adapters.py”,第447行
    引发SSLError(e,request = request)
SSLError:[SSL:CERTIFICATE_VERIFY_FAILED]证书验证失败(_ssl.c:765)
输出:无

最佳答案

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

没有更多数据,我只会尝试导出

CLOUDIFY_SSL_TRUST_ALL=True;

让我知道是否有效

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

10-09 20:22