mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
added ssl verification using IPA trust anchor
https://fedorahosted.org/freeipa/ticket/6686 Reviewed-By: Christian Heimes <cheimes@redhat.com>
This commit is contained in:
committed by
Jan Cholasta
parent
e2d1b21c50
commit
16dac0252e
@@ -96,6 +96,7 @@ class CustodiaClient(object):
|
|||||||
|
|
||||||
# Perform request
|
# Perform request
|
||||||
r = requests.get(url, headers=headers,
|
r = requests.get(url, headers=headers,
|
||||||
|
verify=paths.IPA_CA_CRT,
|
||||||
params={'type': 'kem', 'value': request})
|
params={'type': 'kem', 'value': request})
|
||||||
r.raise_for_status()
|
r.raise_for_status()
|
||||||
reply = r.json()
|
reply = r.json()
|
||||||
|
|||||||
Reference in New Issue
Block a user