mirror of
https://github.com/ansible/awx.git
synced 2026-05-20 07:17:40 -02:30
have analytics collections verify with system trusted CA list
This commit is contained in:
@@ -167,7 +167,7 @@ def ship(path):
|
|||||||
files = {'file': (os.path.basename(path), f, settings.INSIGHTS_AGENT_MIME)}
|
files = {'file': (os.path.basename(path), f, settings.INSIGHTS_AGENT_MIME)}
|
||||||
response = requests.post(url,
|
response = requests.post(url,
|
||||||
files=files,
|
files=files,
|
||||||
verify=True,
|
verify="/etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem",
|
||||||
auth=(rh_user, rh_password),
|
auth=(rh_user, rh_password),
|
||||||
timeout=(31, 31))
|
timeout=(31, 31))
|
||||||
if response.status_code != 202:
|
if response.status_code != 202:
|
||||||
|
|||||||
Reference in New Issue
Block a user