mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
replica install: track the RA agent certificate again
During the rebase of commit822e1bc82aon top of commit808b1436b4, the call to track the RA agent certificate with certmonger was accidentally removed from ipa-replica-install. Put the call back so that the certificate is tracked after replica install. https://fedorahosted.org/freeipa/ticket/6392 Reviewed-By: Tomas Krizek <tkrizek@redhat.com>
This commit is contained in:
@@ -646,7 +646,7 @@ class CAInstance(DogtagInstance):
|
||||
'NSS_ENABLE_PKIX_VERIFY', '1',
|
||||
quotes=False, separator='=')
|
||||
|
||||
def import_ra_cert(self, rafile, configure_renewal=True):
|
||||
def import_ra_cert(self, rafile):
|
||||
"""
|
||||
Cloned RAs will use the same RA agent cert as the master so we
|
||||
need to import from a PKCS#12 file.
|
||||
@@ -662,11 +662,15 @@ class CAInstance(DogtagInstance):
|
||||
finally:
|
||||
os.remove(agent_name)
|
||||
|
||||
self.configure_agent_renewal()
|
||||
|
||||
def __import_ra_key(self):
|
||||
custodia = custodiainstance.CustodiaInstance(host_name=self.fqdn,
|
||||
realm=self.realm)
|
||||
custodia.import_ra_key(self.master_host)
|
||||
|
||||
self.configure_agent_renewal()
|
||||
|
||||
def __create_ca_agent(self):
|
||||
"""
|
||||
Create CA agent, assign a certificate, and add the user to
|
||||
|
||||
Reference in New Issue
Block a user