From a8e938563ef03a6534fa05a76dcd28a3b039621b Mon Sep 17 00:00:00 2001 From: Daniel van Balen Date: Thu, 10 Sep 2020 13:00:02 -0400 Subject: [PATCH] Setting https request to IdentityIQ (IIQ) to grant data access to verify the host/cert. IIQ uses a self signed cert that is in the host cert file but python keeps its own so now will have to set the environment variable REQUESTS_CA_BUNDLE= --- ckanext/cfpb_extrafields/controllers/access.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ckanext/cfpb_extrafields/controllers/access.py b/ckanext/cfpb_extrafields/controllers/access.py index f339c42..957396b 100644 --- a/ckanext/cfpb_extrafields/controllers/access.py +++ b/ckanext/cfpb_extrafields/controllers/access.py @@ -97,7 +97,7 @@ def submit(self, resource_id, cn): workflow_url, json=workflow_json, auth=HTTPBasicAuth(workflow_user, workflow_pass), - verify=False + verify=True ) flash_notice("Access request has been sent, you will recieve email updates on the status of the request as it is processed.") except Exception as e: