summaryrefslogtreecommitdiffstats
path: root/ipa-server/ipaserver/dsinstance.py
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2008-02-05 12:23:53 -0500
committerRob Crittenden <rcritten@redhat.com>2008-02-05 12:23:53 -0500
commit5a96618f5d31b21b983076ccc4c480561a7ccb2a (patch)
treeecc32810d350b0d871cb18c4eb07f989b4b5b879 /ipa-server/ipaserver/dsinstance.py
parent25057816a560064298357d29228c5a4e01466b7c (diff)
downloadfreeipa-5a96618f5d31b21b983076ccc4c480561a7ccb2a.tar.gz
freeipa-5a96618f5d31b21b983076ccc4c480561a7ccb2a.tar.xz
freeipa-5a96618f5d31b21b983076ccc4c480561a7ccb2a.zip
Use file to store the current CA serial number
No longer create a PKCS#12 file that contains the CA No longer send the entire CA to each replica, generate the SSL certs on master Fix number of bugs in ipa-replica-install and prepare Produce status output during replica creation
Diffstat (limited to 'ipa-server/ipaserver/dsinstance.py')
-rw-r--r--ipa-server/ipaserver/dsinstance.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/ipa-server/ipaserver/dsinstance.py b/ipa-server/ipaserver/dsinstance.py
index 733e5d5be..a320a1be6 100644
--- a/ipa-server/ipaserver/dsinstance.py
+++ b/ipa-server/ipaserver/dsinstance.py
@@ -257,10 +257,9 @@ class DsInstance(service.Service):
ca = certs.CertDB(dirname)
if self.pkcs12_info:
ca.create_from_pkcs12(self.pkcs12_info[0], self.pkcs12_info[1])
- ca.cur_serial = 2100
else:
ca.create_self_signed()
- ca.create_server_cert("Server-Cert", "cn=%s,ou=Fedora Directory Server" % self.host_name)
+ ca.create_server_cert("Server-Cert", "cn=%s,ou=Fedora Directory Server" % self.host_name)
conn = ipaldap.IPAdmin("127.0.0.1")
conn.simple_bind_s("cn=directory manager", self.dm_password)