summaryrefslogtreecommitdiffstats
path: root/ipaserver
diff options
context:
space:
mode:
authorJohn Dennis <jdennis@redhat.com>2010-01-20 15:09:00 -0500
committerRob Crittenden <rcritten@redhat.com>2010-01-20 11:32:41 -0500
commitbaba8e91b28ceb746fa280d1a287b0dafd0b8658 (patch)
treef58b0f9a18d04314f239132b7462135eacf4202e /ipaserver
parent28321f7a2ce998c772ccc9a59b26d796e047ec81 (diff)
downloadfreeipa-baba8e91b28ceb746fa280d1a287b0dafd0b8658.tar.gz
freeipa-baba8e91b28ceb746fa280d1a287b0dafd0b8658.tar.xz
freeipa-baba8e91b28ceb746fa280d1a287b0dafd0b8658.zip
Create pkiuser before calling pkicreate, pkicreate depends on the user existing
Diffstat (limited to 'ipaserver')
-rw-r--r--ipaserver/install/cainstance.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipaserver/install/cainstance.py b/ipaserver/install/cainstance.py
index a43809cb1..97ba833be 100644
--- a/ipaserver/install/cainstance.py
+++ b/ipaserver/install/cainstance.py
@@ -445,9 +445,9 @@ class CAInstance(service.Service):
self.cert_chain_file=cert_chain_file
self.external=2
+ self.step("creating certificate server user", self.__create_ca_user)
if not ipautil.dir_exists("/var/lib/pki-ca"):
self.step("creating pki-ca instance", self.create_instance)
- self.step("creating certificate server user", self.__create_ca_user)
self.step("configuring certificate server instance", self.__configure_instance)
# Step 1 of external is getting a CSR so we don't need to do these
# steps until we get a cert back from the external CA.