mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Point to correct location of self-signed CA and set pw on 389-DS cert db
The CA was moved from residing in the DS NSS database into the Apache database to support a self-signed CA certificate plugin. This was not updated in the installer boilerplate. The DS db wasn't getting a password set on it. Go ahead and set one.
This commit is contained in:
committed by
Jason Gerard DeRose
parent
87d93e2c74
commit
986c4e23e7
@@ -340,7 +340,7 @@ class DsInstance(service.Service):
|
||||
cadb = certs.CertDB(httpinstance.NSS_DIR, host_name=self.host_name)
|
||||
if self.self_signed_ca:
|
||||
cadb.create_self_signed()
|
||||
dsdb.create_from_cacert(cadb.cacert_fname)
|
||||
dsdb.create_from_cacert(cadb.cacert_fname, passwd=None)
|
||||
dsdb.create_server_cert("Server-Cert", self.host_name, cadb)
|
||||
dsdb.create_pin_file()
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user