1
0
mirror of https://github.com/dkmstr/openuds.git synced 2025-01-21 18:03:54 +03:00

Added support or "ignore ssl" cert to openstack (to allow self signed)

This commit is contained in:
Adolfo Gómez García 2017-11-13 09:23:02 +01:00
parent cb13ac1617
commit b1ba02c1f3

View File

@ -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')