mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-10-13 08:52:01 -05:00
server upgrade: fix upgrade from pre-4.0
update_ca_renewal_master uses ipaCert certmonger tracking information to decide whether the local server is the CA renewal master or not. The information is lost when migrating from /etc/httpd/alias to /var/lib/ipa/radb in update_ra_cert_store. Make sure update_ra_cert_store is executed after update_ca_renewal_master so that correct information is used. https://fedorahosted.org/freeipa/ticket/5959 Reviewed-By: Stanislav Laznicka <slaznick@redhat.com>
This commit is contained in:
1 parent
ba8a10fbdb
commit
97e838e10d
3 files changed
+3
-2
No files matched your search
@@ -8,4 +8,3 @@ plugin: update_referint
|
||||
plugin: update_uniqueness_plugins_to_new_syntax
|
||||
|
||||
# last
|
||||
plugin: update_ra_cert_store
|
||||
@@ -15,6 +15,8 @@ plugin: update_idrange_type
|
||||
plugin: update_pacs
|
||||
plugin: update_service_principalalias
|
||||
plugin: update_upload_cacrt
|
||||
# update_ra_cert_store has to be executed after update_ca_renewal_master
|
||||
plugin: update_ra_cert_store
|
||||
|
||||
# last
|
||||
# DNS version 1
|
||||
|
||||
@@ -74,7 +74,7 @@ class update_ca_renewal_master(Updater):
|
||||
return False, []
|
||||
|
||||
criteria = {
|
||||
'cert-database': paths.IPA_RADB_DIR,
|
||||
'cert-database': paths.HTTPD_ALIAS_DIR,
|
||||
'cert-nickname': 'ipaCert',
|
||||
}
|
||||
request_id = certmonger.get_request_id(criteria)
|
||||
|
||||
Reference in new issue
Block a user