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