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