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

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