76b7d5
From c9e05427f20f79a8304a9874ae6793a0b5f54987 Mon Sep 17 00:00:00 2001
76b7d5
From: Thorsten Scherf <tscherf@redhat.com>
76b7d5
Date: Fri, 24 Feb 2017 11:53:46 +0100
76b7d5
Subject: [PATCH] added ssl verification using IPA trust anchor
76b7d5
76b7d5
https://fedorahosted.org/freeipa/ticket/6686
76b7d5
76b7d5
Reviewed-By: Christian Heimes <cheimes@redhat.com>
76b7d5
---
76b7d5
 ipapython/secrets/client.py | 1 +
76b7d5
 1 file changed, 1 insertion(+)
76b7d5
76b7d5
diff --git a/ipapython/secrets/client.py b/ipapython/secrets/client.py
76b7d5
index d9cc7d0f5b066dfd8efba480feb5f271ed1ebe83..f2f14af694df4468b3eedaac0fc762787b62e623 100644
76b7d5
--- a/ipapython/secrets/client.py
76b7d5
+++ b/ipapython/secrets/client.py
76b7d5
@@ -94,6 +94,7 @@ class CustodiaClient(object):
76b7d5
 
76b7d5
         # Perform request
76b7d5
         r = requests.get(url, headers=headers,
76b7d5
+                         verify=paths.IPA_CA_CRT,
76b7d5
                          params={'type': 'kem', 'value': request})
76b7d5
         r.raise_for_status()
76b7d5
         reply = r.json()
76b7d5
-- 
76b7d5
2.9.3
76b7d5