After installing a KRA, copy the updated token to other machines
This can be eventually squashed into the main "test" patch but keeping it separate to make it easier to see what has happened. Signed-off-by: Rob Crittenden <rcritten@redhat.com> Reviewed-By: Florence Blanc-Renaud <frenaud@redhat.com>
This commit is contained in:
1 parent
36dbc6b025
commit
6b894f28b5
1 file changed
+10
@@ -611,6 +611,16 @@ class TestHSMExternalToSelfSignedCA(IntegrationTest):
|
||||
tasks.install_kra(self.master, first_instance=True,
|
||||
token_password=self.token_password)
|
||||
|
||||
# Copy the new KRA key material to the other server(s).
|
||||
serialdir, token_files = find_softhsm_token_files(
|
||||
self.master, self.token_name
|
||||
)
|
||||
for server in (self.replicas[0],):
|
||||
tasks.copy_files(self.master, server, token_files)
|
||||
server.run_command(
|
||||
['chown', '-R', 'pkiuser:pkiuser', serialdir]
|
||||
)
|
||||
|
||||
def test_hsm_external_to_self_signed_ca(self):
|
||||
check_version(self.master)
|
||||
self.master.run_command([paths.IPA_CACERT_MANAGE, 'renew',
|
||||
|
||||
Reference in new issue
Block a user