mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-08-10 04:58:03 -05:00
Check that IPA cert is added to trust store after server install
Checking that IPA cert has been added to trust store is needed to verify that installation of the server is correct. This cert should also be removed on uninstall to prevent failures on further installations. Related: https://pagure.io/freeipa/issue/8614 Signed-off-by: Antonio Torres <antorres@redhat.com> Reviewed-By: Francois Cami <fcami@redhat.com>
This commit is contained in:
committed by
Florence Blanc-Renaud
parent
6f830ae1ad
commit
79d9790c99
@@ -888,6 +888,15 @@ class TestInstallMaster(IntegrationTest):
|
||||
name = f'ipa-ca.{self.master.domain.name}'
|
||||
assert crypto_x509.DNSName(name) in cert.san_general_names
|
||||
|
||||
def test_ipa_cert_in_store(self):
|
||||
"""
|
||||
Test that IPA cert has been added to trust store.
|
||||
"""
|
||||
|
||||
assert "IPA CA" in self.master.run_command(
|
||||
['trust', 'list'],
|
||||
raiseonerr=False).stdout_text
|
||||
|
||||
def test_p11_kit_softhsm2(self):
|
||||
# check that p11-kit-proxy does not inject SoftHSM2
|
||||
result = self.master.run_command([
|
||||
|
||||
Reference in New Issue
Block a user