mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Do not check if port 8443 is available in step 2 of external CA install
The port is never available in step 2 of external CA install, as Dogtag is already running. https://fedorahosted.org/freeipa/ticket/4660 Reviewed-By: David Kupka <dkupka@redhat.com>
This commit is contained in:
parent
09808c92c0
commit
50e6633734
@ -280,7 +280,8 @@ def install_master(safe_options, options):
|
||||
domain_name = api.env.domain
|
||||
host_name = api.env.host
|
||||
|
||||
check_ca()
|
||||
if external != 2:
|
||||
check_ca()
|
||||
|
||||
dirname = dsinstance.config_dirname(
|
||||
dsinstance.realm_to_serverid(realm_name))
|
||||
|
@ -884,10 +884,11 @@ def main():
|
||||
# Make sure the 389-ds ports are available
|
||||
check_dirsrv(options.unattended)
|
||||
|
||||
if setup_ca:
|
||||
if not cainstance.check_port():
|
||||
print "IPA requires port 8443 for PKI but it is currently in use."
|
||||
sys.exit("Aborting installation")
|
||||
if setup_ca:
|
||||
if not cainstance.check_port():
|
||||
print ("IPA requires port 8443 for PKI but it is currently in "
|
||||
"use.")
|
||||
sys.exit("Aborting installation")
|
||||
|
||||
if options.conf_ntp:
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user