mirror of
				https://salsa.debian.org/freeipa-team/freeipa.git
				synced 2025-02-25 18:55:28 -06:00 
			
		
		
		
	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:
		@@ -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