diff --git a/disaster_recovery/api/api.py b/disaster_recovery/api/api.py index b101601..4d01c4a 100644 --- a/disaster_recovery/api/api.py +++ b/disaster_recovery/api/api.py @@ -34,7 +34,6 @@ def client(request): ks_version = getattr(settings, 'OPENSTACK_API_VERSIONS', {}).get('identity', 2.0) - verify = getattr(settings, 'OPENSTACK_SSL_NO_VERIFY', False) cacert = getattr(settings, 'OPENSTACK_SSL_CACERT', None) credentials = { @@ -42,8 +41,7 @@ def client(request): 'auth_url': getattr(settings, 'OPENSTACK_KEYSTONE_URL'), 'endpoint': api_url, 'version': ks_version, - 'cert': cacert, - 'verify': verify, + 'cert': cacert } if ks_version == 3: