- Resolves: RHEL-73022 A slow HSM can cause IPA server installation to fail setting up certificate tracking [rhel-9] - Resolves: RHEL-71261 [RHEL-9.6] Include latest fixes in python3-ipatests package - Resolves: RHEL-67191 CVE-2024-11029 ipa: Administrative user data leaked through systemd journal [rhel-9.6] - Resolves: RHEL-59040 KRA installation failure caused by a certificate mismatch in NSS DB and configuration file. Signed-off-by: Florence Blanc-Renaud <flo@redhat.com>
48 lines
1.6 KiB
Diff
48 lines
1.6 KiB
Diff
From ff5bb485d709ea02422cbafba51d23db384822af Mon Sep 17 00:00:00 2001
|
|
From: Florence Blanc-Renaud <flo@redhat.com>
|
|
Date: Fri, 20 Dec 2024 15:45:01 +0100
|
|
Subject: [PATCH] Installation test: KRA on replica after cert renewal
|
|
|
|
Add a new test installing the KRA on a replica after the
|
|
KRA certs have been renewed on the master.
|
|
|
|
Related: https://pagure.io/freeipa/issue/9692
|
|
|
|
Signed-off-by: Florence Blanc-Renaud <flo@redhat.com>
|
|
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
|
|
---
|
|
ipatests/test_integration/test_installation.py | 10 +++++++++-
|
|
1 file changed, 9 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/ipatests/test_integration/test_installation.py b/ipatests/test_integration/test_installation.py
|
|
index c5565c452010f23f038ddf329454b591ef09f6af..1fae472673a3934c86af2f9adc7b343c70e25b2b 100644
|
|
--- a/ipatests/test_integration/test_installation.py
|
|
+++ b/ipatests/test_integration/test_installation.py
|
|
@@ -1322,7 +1322,7 @@ class TestInstallMaster(IntegrationTest):
|
|
|
|
class TestInstallMasterKRA(IntegrationTest):
|
|
|
|
- num_replicas = 0
|
|
+ num_replicas = 1
|
|
|
|
@classmethod
|
|
def install(cls, mh):
|
|
@@ -1379,6 +1379,14 @@ class TestInstallMasterKRA(IntegrationTest):
|
|
)
|
|
assert starting_serial != int(cert.serial_number)
|
|
|
|
+ def test_install_replica_after_kracert_renewal(self):
|
|
+ """
|
|
+ Test replica installation with CA after the KRA certs renewal
|
|
+ """
|
|
+ tasks.install_replica(self.master, self.replicas[0],
|
|
+ setup_ca=True)
|
|
+ tasks.install_kra(self.replicas[0])
|
|
+
|
|
|
|
class TestInstallMasterDNS(IntegrationTest):
|
|
|
|
--
|
|
2.47.1
|
|
|