我使用以下命令获取令牌。
curl -s -X POST http://127.0.0.1:5000/v2.0/tokens -H "Content-Type: application/json" -d '{"auth": {"tenantName": "'"$OS_TENANT_NAME"'", "passwordCredentials": {"username": "'"$OS_USERNAME"'", "password": "'"$OS_PASSWORD"'"}}}'| python -m json.tool
在此之后我想打开openstack keystone服务的卷曲。所以我试过, 卷曲https://keystone:5000
但是这会导致错误
curl: (56) Received HTTP code 404 from proxy after CONNECT
如何对openstack服务进行curl调用?