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:
Thorsten Scherf 2017-02-24 11:53:46 +01:00 committed by Jan Cholasta
parent 4a30e9d534
commit f784e33b1e

View File

@ -94,6 +94,7 @@ class CustodiaClient(object):
# Perform request
r = requests.get(url, headers=headers,
verify=paths.IPA_CA_CRT,
params={'type': 'kem', 'value': request})
r.raise_for_status()
reply = r.json()