7e1b55
From 1a5159b216455070eb51b6a11ceaf0033fc8ce4c Mon Sep 17 00:00:00 2001
7e1b55
From: Alexander Bokovoy <abokovoy@redhat.com>
7e1b55
Date: Fri, 16 Jul 2021 09:20:33 +0300
7e1b55
Subject: [PATCH] rhel platform: add a named crypto-policy support
7e1b55
7e1b55
RHEL 8+ provides bind system-wide crypto policy support, enable it.
7e1b55
7e1b55
Fixes: https://pagure.io/freeipa/issue/8925
7e1b55
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
7e1b55
Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
7e1b55
Reviewed-By: Anuja More <amore@redhat.com>
7e1b55
---
7e1b55
 ipaplatform/rhel/paths.py | 1 +
7e1b55
 1 file changed, 1 insertion(+)
7e1b55
7e1b55
diff --git a/ipaplatform/rhel/paths.py b/ipaplatform/rhel/paths.py
7e1b55
index c081ada32..3631550eb 100644
7e1b55
--- a/ipaplatform/rhel/paths.py
7e1b55
+++ b/ipaplatform/rhel/paths.py
7e1b55
@@ -30,6 +30,7 @@ from ipaplatform.rhel.constants import HAS_NFS_CONF
7e1b55
 
7e1b55
 
7e1b55
 class RHELPathNamespace(RedHatPathNamespace):
7e1b55
+    NAMED_CRYPTO_POLICY_FILE = "/etc/crypto-policies/back-ends/bind.config"
7e1b55
     if HAS_NFS_CONF:
7e1b55
         SYSCONFIG_NFS = '/etc/nfs.conf'
7e1b55
 
7e1b55
-- 
7e1b55
2.26.3
7e1b55