--insecure is ignored if OS_CACERT env var is set
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-openstackclient |
Fix Released
|
High
|
Dean Troyer |
Bug Description
The --insecure argument means "Disable server certificate verification", so when that is specified it should make OS_CACERT irrelevant. But instead, we're seeing cert verification happen, despite --insecure, if/when OS_CACERT is set.
[root@myhost messages]# openstack --insecure token issue
+------
| Field | Value |
+------
| expires | 2015-04-
| id | af2776adeb0f434
| project_id | 79100354e9014ee
| user_id | 0688b01e6439ca3
+------
[root@myhost messages]# export OS_CACERT=blah
[root@myhost messages]# openstack --insecure token issue
ERROR: openstack SSL exception connecting to https:/
Changed in python-openstackclient: | |
milestone: | none → m12 |
Changed in python-openstackclient: | |
status: | Fix Committed → Fix Released |
This is similar to https:/ /bugs.launchpad .net/python- openstackclient /+bug/1447704 but for different arguments.