diff options
author | Linda Wang <wangwulin@huawei.com> | 2017-06-20 06:31:29 +0000 |
---|---|---|
committer | Linda Wang <wangwulin@huawei.com> | 2017-06-22 16:24:59 +0000 |
commit | dbfb9c4e94e500592a8b93f42b7b87230d0af311 (patch) | |
tree | e8c15131bdca7e7c52abe93f641c366e4d6934cb /snaps/openstack/create_user.py | |
parent | 39b46e7e43dffff8f4abfbc142c9e28c9ce0d260 (diff) |
Enable https for Openstack in Snaps
When running in https environment, snaps should provide two options:
1. To support certification verify when https certification file is provided;
2. To disable server certificate verification without cert file.
JIRA: SNAPS-84
Change-Id: I5a9094238db5c8017cc8b80e3353adc6e793b552
Signed-off-by: Linda Wang <wangwulin@huawei.com>
Diffstat (limited to 'snaps/openstack/create_user.py')
-rw-r--r-- | snaps/openstack/create_user.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/snaps/openstack/create_user.py b/snaps/openstack/create_user.py index c6d4678..b3f93d4 100644 --- a/snaps/openstack/create_user.py +++ b/snaps/openstack/create_user.py @@ -93,7 +93,8 @@ class OpenStackUser: identity_api_version=self.__os_creds.identity_api_version, user_domain_id=self.__os_creds.user_domain_id, project_domain_id=self.__os_creds.project_domain_id, - proxy_settings=self.__os_creds.proxy_settings) + proxy_settings=self.__os_creds.proxy_settings, + cacert=self.__os_creds.cacert) class UserSettings: |