summaryrefslogtreecommitdiffstats
path: root/ipaserver
diff options
context:
space:
mode:
authorMartin Kosek <mkosek@redhat.com>2013-10-09 22:33:20 +0200
committerMartin Kosek <mkosek@redhat.com>2013-10-11 09:50:44 +0200
commitdbfa7157ccf0c467e33f742176fc82a789c72e2e (patch)
tree29001184607e0577859ac3868ac692b30e27c139 /ipaserver
parentcb9331ebfcc33ad676b6d188156a6d56b2996a18 (diff)
downloadfreeipa-dbfa7157ccf0c467e33f742176fc82a789c72e2e.tar.gz
freeipa-dbfa7157ccf0c467e33f742176fc82a789c72e2e.tar.xz
freeipa-dbfa7157ccf0c467e33f742176fc82a789c72e2e.zip
PKI installation on replica failing due to missing proxy conf
Proxy configuration was not detected correctly. Both ipa-pki-proxy.conf and ipa.conf need to be in place and httpd restarted to be able to check it's status. https://fedorahosted.org/freeipa/ticket/3964
Diffstat (limited to 'ipaserver')
-rw-r--r--ipaserver/install/cainstance.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/ipaserver/install/cainstance.py b/ipaserver/install/cainstance.py
index 15d79fdb..9f0d4d4c 100644
--- a/ipaserver/install/cainstance.py
+++ b/ipaserver/install/cainstance.py
@@ -1679,8 +1679,10 @@ def install_replica_ca(config, master_ds_port, postinstall=False):
master_replication_port=master_ds_port,
subject_base=config.subject_base)
+ # Restart httpd since we changed it's config and added ipa-pki-proxy.conf
+ # Without the restart, CA service status check would fail due to missing
+ # proxy
if postinstall:
- # Restart httpd since we changed its config
ipaservices.knownservices.httpd.restart()