summaryrefslogtreecommitdiffstats
path: root/ipaserver/install/ipa_backup.py
diff options
context:
space:
mode:
authorJan Cholasta <jcholast@redhat.com>2014-11-10 16:24:22 +0000
committerPetr Viktorin <pviktori@dhcp-31-13.brq.redhat.com>2014-11-11 16:13:52 +0100
commit2639997dfee43d66e94ef9b5441289816c465e7d (patch)
tree6a945b35e5fe6473d4dbfa9d9f8dc195e54caa3e /ipaserver/install/ipa_backup.py
parent8248f696275e2e63dab860a25467e2868aa17036 (diff)
downloadfreeipa-2639997dfee43d66e94ef9b5441289816c465e7d.tar.gz
freeipa-2639997dfee43d66e94ef9b5441289816c465e7d.tar.xz
freeipa-2639997dfee43d66e94ef9b5441289816c465e7d.zip
Fix CA certificate backup and restore
Backup and restore /etc/pki/ca-trust/source/ipa.p11-kit. Create /etc/ipa/nssdb after restore if necessary. https://fedorahosted.org/freeipa/ticket/4711 Reviewed-By: Petr Viktorin <pviktori@redhat.com>
Diffstat (limited to 'ipaserver/install/ipa_backup.py')
-rw-r--r--ipaserver/install/ipa_backup.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ipaserver/install/ipa_backup.py b/ipaserver/install/ipa_backup.py
index 34be5383d..682b626e5 100644
--- a/ipaserver/install/ipa_backup.py
+++ b/ipaserver/install/ipa_backup.py
@@ -137,6 +137,8 @@ class Backup(admintool.AdminTool):
paths.SYSCONFIG_ODS,
paths.ETC_SYSCONFIG_AUTHCONFIG,
paths.IPA_NSSDB_PWDFILE_TXT,
+ paths.IPA_P11_KIT,
+ paths.SYSTEMWIDE_IPA_CA_CRT,
paths.NSSWITCH_CONF,
paths.KRB5_KEYTAB,
paths.SSSD_CONF,