mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Fix certificate renewal scripts to work with separate CA DS instance.
https://fedorahosted.org/freeipa/ticket/3805 Reviewed-By: Petr Viktorin <pviktori@redhat.com>
This commit is contained in:
committed by
Petr Viktorin
parent
c5e61c85e6
commit
4c761108e8
@@ -90,9 +90,7 @@ def main():
|
||||
|
||||
# Done withing stopped_service context, CA restarted here
|
||||
update_cert_config(nickname, cert)
|
||||
|
||||
if nickname == 'subsystemCert cert-pki-ca':
|
||||
update_people_entry('pkidbuser', cert)
|
||||
update_people_entry(cert)
|
||||
|
||||
if nickname == 'auditSigningCert cert-pki-ca':
|
||||
# Fix trust on the audit cert
|
||||
|
||||
@@ -43,7 +43,7 @@ def main():
|
||||
dercert = db.get_cert_from_db('ipaCert', pem=False)
|
||||
|
||||
# Load it into dogtag
|
||||
update_people_entry('ipara', dercert)
|
||||
update_people_entry(dercert)
|
||||
|
||||
attempts = 0
|
||||
updated = False
|
||||
|
||||
Reference in New Issue
Block a user