diff --git a/base/server/python/pki/server/deployment/scriptlets/configuration.py b/base/server/python/pki/server/deployment/scriptlets/configuration.py index 5c1257c84a5..dde1bf7571f 100644 --- a/base/server/python/pki/server/deployment/scriptlets/configuration.py +++ b/base/server/python/pki/server/deployment/scriptlets/configuration.py @@ -136,11 +136,11 @@ def spawn(self, deployer): deployer.setup_database(subsystem, master_config) - subsystem.load() + if not clone and subsystem.type == 'CA': + subsystem.import_profiles( + input_folder='/usr/share/pki/ca/profiles/ca') - if not clone and subsystem.type == 'CA': - subsystem.import_profiles( - input_folder='/usr/share/pki/ca/profiles/ca') + subsystem.load() # Check whether the subsystem uses a legacy ID generator. using_legacy_id_generator = deployer.is_using_legacy_id_generator(subsystem)