summaryrefslogtreecommitdiffstats
path: root/ipaserver/install/dsinstance.py
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2009-11-18 17:51:28 -0500
committerJason Gerard DeRose <jderose@redhat.com>2009-11-25 09:57:14 -0700
commit986c4e23e7f640911cbe72129dc3f675438f35d4 (patch)
treef105cfbff195b2df74cff38b4edf70e23470debc /ipaserver/install/dsinstance.py
parent87d93e2c74e07ae7c673c1e4e1c24daa2fc7e269 (diff)
downloadfreeipa-986c4e23e7f640911cbe72129dc3f675438f35d4.tar.gz
freeipa-986c4e23e7f640911cbe72129dc3f675438f35d4.tar.xz
freeipa-986c4e23e7f640911cbe72129dc3f675438f35d4.zip
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.
Diffstat (limited to 'ipaserver/install/dsinstance.py')
-rw-r--r--ipaserver/install/dsinstance.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipaserver/install/dsinstance.py b/ipaserver/install/dsinstance.py
index 254c575c0..60436dee2 100644
--- a/ipaserver/install/dsinstance.py
+++ b/ipaserver/install/dsinstance.py
@@ -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: