mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Enable ephemeral KRA requests
Enabling ephemeral KRA requests will reduce the amount of LDAP write operations and improve overall performance. Re-order some imports and shorten some lines to make pep8 happy. Fixes: https://pagure.io/freeipa/issue/6703 Signed-off-by: Rob Crittenden <rcritten@redhat.com> Reviewed-By: Fraser Tweedale <ftweedal@redhat.com>
This commit is contained in:
committed by
Christian Heimes
parent
10a847b682
commit
a7ae2dbc5f
@@ -463,3 +463,13 @@ class DogtagInstance(service.Service):
|
||||
config.set(self.subsystem, "pki_ds_secure_connection", "True")
|
||||
config.set(self.subsystem, "pki_ds_secure_connection_ca_pem_file",
|
||||
ds_cacert)
|
||||
|
||||
def backup_config(self):
|
||||
"""
|
||||
Create a backup copy of CS.cfg
|
||||
"""
|
||||
path = self.config
|
||||
if services.knownservices['pki_tomcatd'].is_running('pki-tomcat'):
|
||||
raise RuntimeError(
|
||||
"Dogtag must be stopped when creating backup of %s" % path)
|
||||
shutil.copy(path, path + '.ipabkp')
|
||||
|
||||
Reference in New Issue
Block a user