我想在我的公司使用Cloudify 3.1和我的Openstack。Cloudify with Openstack:SSL3_GET_SERVER_CERTIFICATE:证书验证失败
不幸的是,我有prolem,认证失败。 当我看到日志,它说,“SSL3_GET_SERVER_CERTIFICATE:证书验证失败”
我认为这是HTTPS,使它失败。我看到下面的卷曲。
curl -i 'https://identity.example.com/v2.0/tokens' -X POST -H "Content-Type: application/json" -H "Accept: application/json" -H "User-Agent: python-novaclient" -d '{"auth": {"tenantName": "xxxx", "passwordCredentials": {"username": "xxxx", "password": "xxxxx"}}}'
HTTP/1.0 200 Connection Established
Proxy-agent: Apache
curl: (60) SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
More details here: http://curl.haxx.se/docs/sslcerts.html
curl performs SSL certificate verification by default, using a "bundle"
of Certificate Authority (CA) public keys (CA certs). If the default
bundle file isn't adequate, you can specify an alternate file
using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
the bundle, the certificate verification probably failed due to a
problem with the certificate (it might be expired, or the name might
not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
the -k (or --insecure) option.
我怎样才能让不使用-k
或--insecure
卷曲成功吗?
或者如果任何人有OpenSTack的经验,那么Keystone在安装Cloudify时使用HTTPS?
不错的答案。另外,选择一个自定义头像,你已经赢得了它。 ;) – taco 2015-03-20 02:29:01
非常有用,谢谢。 – hankz 2015-04-03 05:40:56