mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Load the CA cert into server NSS databases
The CA cert was not loaded, so if it was missing from the PKCS#12 file, installation would fail. Pass the cert filename to the server installers and include it in the NSS DB. Part of the work for: https://fedorahosted.org/freeipa/ticket/3363
This commit is contained in:
committed by
Martin Kosek
parent
03a2c66eda
commit
1bc892c02d
@@ -340,7 +340,7 @@ class ReplicaPrepare(admintool.AdminTool):
|
||||
def copy_misc_files(self):
|
||||
self.log.info("Copying additional files")
|
||||
|
||||
self.copy_info_file("/usr/share/ipa/html/ca.crt", "ca.crt")
|
||||
self.copy_info_file("/etc/ipa/ca.crt", "ca.crt")
|
||||
preferences_filename = "/usr/share/ipa/html/preferences.html"
|
||||
if ipautil.file_exists(preferences_filename):
|
||||
self.copy_info_file(preferences_filename, "preferences.html")
|
||||
|
||||
Reference in New Issue
Block a user