summaryrefslogtreecommitdiff
path: root/openstackclient/common/restapi.py
diff options
context:
space:
mode:
authorDean Troyer <dtroyer@gmail.com>2013-10-07 12:23:00 -0500
committerDean Troyer <dtroyer@gmail.com>2013-10-07 18:17:48 -0500
commit3f9c68f1c6585c1d7f31b75c8719efc47230d86f (patch)
tree142933220dc0488998948a08d35c1cb46184e354 /openstackclient/common/restapi.py
parentbca4cf95789fc30577c796fdf349d072ef087f25 (diff)
downloadpython-openstackclient-3f9c68f1c6585c1d7f31b75c8719efc47230d86f.tar.gz
Add options to support TLS certificate verification
Add --os-cacert and --verify|--insecure options using the same sematics as the other project CLIs. --verify is included for completeness. Bug: 1236608 Change-Id: I8a116d790db5aa4cb17a2207efedce7cb229eba3
Diffstat (limited to 'openstackclient/common/restapi.py')
-rw-r--r--openstackclient/common/restapi.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/openstackclient/common/restapi.py b/openstackclient/common/restapi.py
index 4cea5a06..a45c8426 100644
--- a/openstackclient/common/restapi.py
+++ b/openstackclient/common/restapi.py
@@ -53,6 +53,7 @@ class RESTApi(object):
os_auth=None,
user_agent=USER_AGENT,
debug=None,
+ verify=True,
**kwargs
):
self.set_auth(os_auth)