From b1ba02c1f323703de502ed8983dd3efea9ad8cf3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adolfo=20G=C3=B3mez=20Garc=C3=ADa?= Date: Mon, 13 Nov 2017 09:23:02 +0100 Subject: [PATCH] Added support or "ignore ssl" cert to openstack (to allow self signed) --- .../src/uds/services/OpenStack/openStack/UDSOpenStackClient.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/src/uds/services/OpenStack/openStack/UDSOpenStackClient.py b/server/src/uds/services/OpenStack/openStack/UDSOpenStackClient.py index f099132b..c76d7b2d 100644 --- a/server/src/uds/services/OpenStack/openStack/UDSOpenStackClient.py +++ b/server/src/uds/services/OpenStack/openStack/UDSOpenStackClient.py @@ -43,7 +43,7 @@ import hashlib import six -__updated__ = '2017-03-21' +__updated__ = '2017-11-13' logger = logging.getLogger(__name__) @@ -595,6 +595,7 @@ class Client(object): # We need api version 3.2 or greater try: r = requests.get(self._authUrl, + verify=VERIFY_SSL, headers=self._requestHeaders()) except Exception: raise Exception('Connection error')