diff --git a/src/unity_initiator/actions/submit_dag_by_id.py b/src/unity_initiator/actions/submit_dag_by_id.py index 1fcc20a..d8019bc 100644 --- a/src/unity_initiator/actions/submit_dag_by_id.py +++ b/src/unity_initiator/actions/submit_dag_by_id.py @@ -34,7 +34,9 @@ def execute(self): }, "note": "", } - response = httpx.post(url, auth=auth, headers=headers, json=body) + response = httpx.post( + url, auth=auth, headers=headers, json=body, verify=False + ) # nosec if response.status_code in (200, 201): success = True resp = response.json() diff --git a/src/unity_initiator/actions/submit_ogc_process_execution.py b/src/unity_initiator/actions/submit_ogc_process_execution.py index 56df2ce..9b3fcee 100644 --- a/src/unity_initiator/actions/submit_ogc_process_execution.py +++ b/src/unity_initiator/actions/submit_ogc_process_execution.py @@ -30,7 +30,7 @@ def execute(self): "outputs": None, "subscriber": None, } - response = httpx.post(url, headers=headers, json=body) + response = httpx.post(url, headers=headers, json=body, verify=False) # nosec if response.status_code in (200, 201): success = True resp = response.json()