mirror of
				https://salsa.debian.org/freeipa-team/freeipa.git
				synced 2025-02-25 18:55:28 -06:00 
			
		
		
		
	Specify the location for the agent PKCS#12 file so we don't have to move it.
Dogtag 10.0.2 changed the default location for this file from /root/.pki to /root/.dogtag which broke our install. https://fedorahosted.org/freeipa/ticket/3599
This commit is contained in:
		
				
					committed by
					
						
						Martin Kosek
					
				
			
			
				
	
			
			
			
						parent
						
							77e4f445cc
						
					
				
				
					commit
					be8c9ec9f2
				
			@@ -655,6 +655,7 @@ class CAInstance(service.Service):
 | 
			
		||||
        config.set("CA", "pki_admin_nickname", "ipa-ca-agent")
 | 
			
		||||
        config.set("CA", "pki_admin_subject_dn",
 | 
			
		||||
            str(DN(('cn', 'ipa-ca-agent'), self.subject_base)))
 | 
			
		||||
        config.set("CA", "pki_client_admin_cert_p12", "/root/ca-agent.p12")
 | 
			
		||||
 | 
			
		||||
        # Directory server
 | 
			
		||||
        config.set("CA", "pki_ds_ldap_port", str(self.ds_port))
 | 
			
		||||
@@ -741,9 +742,6 @@ class CAInstance(service.Service):
 | 
			
		||||
            print "ipa-server-install --external_cert_file=/path/to/signed_certificate --external_ca_file=/path/to/external_ca_certificate"
 | 
			
		||||
            sys.exit(0)
 | 
			
		||||
        else:
 | 
			
		||||
            if not self.clone:
 | 
			
		||||
                shutil.move("/root/.pki/pki-tomcat/ca_admin_cert.p12", \
 | 
			
		||||
                            "/root/ca-agent.p12")
 | 
			
		||||
            shutil.move("/var/lib/pki/pki-tomcat/alias/ca_backup_keys.p12", \
 | 
			
		||||
                        "/root/cacert.p12")
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user