mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
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:
committed by
Petr Viktorin
parent
0880d030ae
commit
4bed0de60d
@@ -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
4
install/tools/ipa-server-install
Normal file → Executable 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 = ""
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user