Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/327.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python Openstack CLI引发SSL错误_Python_Openstack - Fatal编程技术网

Python Openstack CLI引发SSL错误

Python Openstack CLI引发SSL错误,python,openstack,Python,Openstack,我已经安装了Openstack CLI,当我尝试使用任何命令时 openstack server list 它抛出了下面的错误 Failed to discover available identity versions when contacting https://44.128.19.51:5000/v3. Attempting to parse version from URL. SSL exception connecting to https://44.128.19.51:5000/

我已经安装了Openstack CLI,当我尝试使用任何命令时

openstack server list
它抛出了下面的错误

Failed to discover available identity versions when contacting
https://44.128.19.51:5000/v3. Attempting to parse version from URL.
SSL exception connecting to https://44.128.19.51:5000/v3/auth/tokens:
[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed
(_ssl.c:765)

我尝试设置导出
OS\u CACERT=/path/to/ca.crt
,但它不起作用。

您必须提供正确的授权
url
。有时
url
的端口可能错误。就像在我的例子中一样,授权
url
具有端口
1300
,而不是
5000

你有没有找到你的
RC
文件

除了正确的授权url、正确的
CACERT
path或正确的授权证书之外,它应该显示此错误