Blame SOURCES/0005-ipa-pki-proxy.conf-provide-access-to-kra-admin-kra-getStatus_rhbz#2049167.patch

07426e
From 9bae5492270d8b695999cd82831cbee62b04626b Mon Sep 17 00:00:00 2001
07426e
From: Florence Blanc-Renaud <flo@redhat.com>
07426e
Date: Fri, 28 Jan 2022 16:58:42 +0100
07426e
Subject: [PATCH] ipa-pki-proxy.conf: provide access to
07426e
 /kra/admin/kra/getStatus
07426e
07426e
The access to /kra/admin/kra/getStatus will be needed
07426e
in order to fix pki-healthcheck.
07426e
Note that this commit is a pre-requisite for the fix
07426e
to be done on PKI side. No test added since the full
07426e
integration test already exists in test_replica_promotion.py,
07426e
in TestHiddenReplicaPromotion::test_ipahealthcheck_hidden_replica
07426e
07426e
Fixes: https://pagure.io/freeipa/issue/9099
07426e
Related: https://pagure.io/freeipa/issue/8582
07426e
07426e
Signed-off-by: Florence Blanc-Renaud <flo@redhat.com>
07426e
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
07426e
---
07426e
 install/share/ipa-pki-proxy.conf.template | 4 ++--
07426e
 1 file changed, 2 insertions(+), 2 deletions(-)
07426e
07426e
diff --git a/install/share/ipa-pki-proxy.conf.template b/install/share/ipa-pki-proxy.conf.template
07426e
index 96708482c..7a46f20b9 100644
07426e
--- a/install/share/ipa-pki-proxy.conf.template
07426e
+++ b/install/share/ipa-pki-proxy.conf.template
07426e
@@ -1,4 +1,4 @@
07426e
-# VERSION 16 - DO NOT REMOVE THIS LINE
07426e
+# VERSION 17 - DO NOT REMOVE THIS LINE
07426e
 
07426e
 ProxyRequests Off
07426e
 
07426e
@@ -11,7 +11,7 @@ ProxyRequests Off
07426e
 </LocationMatch>
07426e
 
07426e
 # matches for admin port and installer
07426e
-<LocationMatch "^/ca/admin/ca/getCertChain|^/ca/admin/ca/getConfigEntries|^/ca/admin/ca/getCookie|^/ca/admin/ca/getStatus|^/ca/admin/ca/securityDomainLogin|^/ca/admin/ca/getDomainXML|^/ca/admin/ca/updateNumberRange|^/ca/admin/ca/tokenAuthenticate|^/ca/admin/ca/updateNumberRange|^/ca/admin/ca/updateDomainXML|^/ca/admin/ca/updateConnector|^/ca/admin/ca/getSubsystemCert|^/kra/admin/kra/updateNumberRange|^/kra/admin/kra/getConfigEntries">
07426e
+<LocationMatch "^/ca/admin/ca/getCertChain|^/ca/admin/ca/getConfigEntries|^/ca/admin/ca/getCookie|^/ca/admin/ca/getStatus|^/ca/admin/ca/securityDomainLogin|^/ca/admin/ca/getDomainXML|^/ca/admin/ca/updateNumberRange|^/ca/admin/ca/tokenAuthenticate|^/ca/admin/ca/updateNumberRange|^/ca/admin/ca/updateDomainXML|^/ca/admin/ca/updateConnector|^/ca/admin/ca/getSubsystemCert|^/kra/admin/kra/updateNumberRange|^/kra/admin/kra/getConfigEntries|^/kra/admin/kra/getStatus">
07426e
     SSLOptions +StdEnvVars +ExportCertData +StrictRequire +OptRenegotiate
07426e
     SSLVerifyClient none
07426e
     ProxyPassMatch ajp://localhost:$DOGTAG_PORT $DOGTAG_AJP_SECRET
07426e
-- 
07426e
2.34.1
07426e