diff options
author | Petr Viktorin <pviktori@redhat.com> | 2013-01-24 11:11:03 -0500 |
---|---|---|
committer | Martin Kosek <mkosek@redhat.com> | 2013-01-29 15:42:24 +0100 |
commit | b382a77fc393a078ebbba8000284dd9abe75a3d5 (patch) | |
tree | b6cc50bec15a71d24a17220d1fb7cf8932b762ca /ipaserver | |
parent | 77bb4b517769f7707514b0f7e3da5762ff0f1cc4 (diff) | |
download | freeipa-b382a77fc393a078ebbba8000284dd9abe75a3d5.tar.gz freeipa-b382a77fc393a078ebbba8000284dd9abe75a3d5.tar.xz freeipa-b382a77fc393a078ebbba8000284dd9abe75a3d5.zip |
Add the CA cert to LDAP after the CA install
The DS is installed before the CA cert is generated. Trying to
add the cert to LDAP before it exists resulted in a nasty-looking
error message.
This moves the cert upload to after the CA cert is ready and the
certdb is created.
Move the cert upload to after thecertdb is generated.
https://fedorahosted.org/freeipa/ticket/3375
Diffstat (limited to 'ipaserver')
-rw-r--r-- | ipaserver/install/dsinstance.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ipaserver/install/dsinstance.py b/ipaserver/install/dsinstance.py index 76ef68726..367496f18 100644 --- a/ipaserver/install/dsinstance.py +++ b/ipaserver/install/dsinstance.py @@ -262,7 +262,6 @@ class DsInstance(service.Service): self.step("adding range check plugin", self.__add_range_check_plugin) if hbac_allow: self.step("creating default HBAC rule allow_all", self.add_hbac) - self.step("Upload CA cert to the directory", self.__upload_ca_cert) self.__common_post_setup() @@ -589,7 +588,7 @@ class DsInstance(service.Service): # check for open secure port 636 from now on self.open_ports.append(636) - def __upload_ca_cert(self): + def upload_ca_cert(self): """ Upload the CA certificate in DER form in the LDAP directory. """ |