[Freeipa-devel] [PATCH] Create pkiuser before calling pkicreate, pkicreate depends on the user existing

Rob Crittenden rcritten at redhat.com
Wed Jan 20 16:33:03 UTC 2010


John Dennis wrote:
> ---
>  ipaserver/install/cainstance.py |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/ipaserver/install/cainstance.py b/ipaserver/install/cainstance.py
> index a43809c..97ba833 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.

ack, pushed to master




More information about the Freeipa-devel mailing list