mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-10-24 14:17:41 -05:00
Split out anonymous PKINIT test to a separate method
This allows for more flexibility in the whole PKINIT setup process. https://pagure.io/freeipa/issue/6792 Reviewed-By: Stanislav Laznicka <slaznick@redhat.com>
This commit is contained in:
1 parent
1fc48cd0af
commit
17aa51ef02
1 file changed
+2
@@ -410,6 +410,7 @@ class KrbInstance(service.Service):
|
||||
root_logger.critical("krb5kdc service failed to restart")
|
||||
raise
|
||||
|
||||
def test_anonymous_pkinit(self):
|
||||
with ipautil.private_ccache() as anon_ccache:
|
||||
try:
|
||||
ipautil.run([paths.KINIT, '-n', '-c', anon_ccache])
|
||||
@@ -421,6 +422,7 @@ class KrbInstance(service.Service):
|
||||
self.steps = []
|
||||
self.step("installing X509 Certificate for PKINIT",
|
||||
self.setup_pkinit)
|
||||
self.step("testing anonymous PKINIT", self.test_anonymous_pkinit)
|
||||
|
||||
self.start_creation()
|
||||
|
||||
|
||||
Reference in new issue
Block a user