bugfix: certificate for https for MCP in baremetal
[doctor.git] / doctor_tests / identity_auth.py
index 0d42959..62b45ed 100644 (file)
@@ -40,4 +40,5 @@ def get_session(auth=None):
     """Get a user credentials auth session."""
     if auth is None:
         auth = get_identity_auth()
-    return session.Session(auth=auth)
+    return session.Session(auth=auth,
+                           verify=os.environ.get('OS_CACERT'))