Remove mod_ssl conflict

Since mod_nss-1.0.8-24, mod_nss and mod_ssl can co-exist on one
machine (of course, when listening to different ports).

To make sure that mod_ssl is not configured to listen on 443
(default mod_ssl configuration), add a check to the installer checking
of either mod_nss or mod_ssl was configured to listen on that port.

https://fedorahosted.org/freeipa/ticket/3974
This commit is contained in:
Martin Kosek
2013-10-25 10:22:08 +02:00
committed by Petr Viktorin
parent 0880d030ae
commit 4bed0de60d
5 changed files with 54 additions and 10 deletions

View File

@@ -474,6 +474,10 @@ def main():
if options.setup_dns:
check_bind()
# Check to see if httpd is already configured to listen on 443
if httpinstance.httpd_443_configured():
sys.exit("Aborting installation")
check_dirsrv()
if options.conf_ntp:

4
install/tools/ipa-server-install Normal file → Executable file
View File

@@ -791,6 +791,10 @@ def main():
except ipaclient.ntpconf.NTPConfigurationError:
pass
# Check to see if httpd is already configured to listen on 443
if httpinstance.httpd_443_configured():
sys.exit("Aborting installation")
realm_name = ""
host_name = ""
domain_name = ""

View File

@@ -1047,6 +1047,7 @@ def main():
http.remove_httpd_ccache()
http.configure_selinux_for_httpd()
http.configure_httpd_ccache()
http.change_mod_nss_port_to_http()
ds = dsinstance.DsInstance()
ds.configure_dirsrv_ccache()