diff --git a/base/server/upgrade/11.5.0/04-RemoveCertCSRfromConfig.py b/base/server/upgrade/11.5.0/04-RemoveCertCSRfromConfig.py index 91c74b7cf4e..a90acd15cd4 100644 --- a/base/server/upgrade/11.5.0/04-RemoveCertCSRfromConfig.py +++ b/base/server/upgrade/11.5.0/04-RemoveCertCSRfromConfig.py @@ -20,12 +20,11 @@ def __init__(self): self.message = 'Removes certs data and CSR from CS.cfg' def upgrade_instance(self, instance): - instance.makedirs(instance.certs_dir, exist_ok=True) def upgrade_subsystem(self, instance, subsystem): - self.backup(subsystem.cs_conf) + instance.makedirs(instance.certs_dir, exist_ok=True) logger.info('Removing certs data') certs = subsystem.find_system_certs()