From 6f0f56f4f664f73eae83f5c8d38d45ab6e6dd297 Mon Sep 17 00:00:00 2001 From: Ryan Petrello Date: Wed, 10 Mar 2021 12:12:35 -0500 Subject: [PATCH] verify all Centrify HTTPS requests --- awx/main/credential_plugins/centrify_vault.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/awx/main/credential_plugins/centrify_vault.py b/awx/main/credential_plugins/centrify_vault.py index e5b7949c13..dc4db1fe22 100644 --- a/awx/main/credential_plugins/centrify_vault.py +++ b/awx/main/credential_plugins/centrify_vault.py @@ -81,7 +81,8 @@ def get_ID(**kwargs): response = requests.post( endpoint, json = {'Script': query}, - headers = post_headers, + headers = post_headers, + verify = True, timeout = (5, 30) ) raise_for_status(response) @@ -103,6 +104,7 @@ def get_passwd(**kwargs): endpoint, json = {'ID': kwargs['acc_id']}, headers = post_headers, + verify = True, timeout = (5, 30) ) raise_for_status(response)