diff options
| author | David Kupka <dkupka@redhat.com> | 2014-09-29 04:27:30 -0400 |
|---|---|---|
| committer | Martin Kosek <mkosek@redhat.com> | 2014-10-10 11:57:44 +0200 |
| commit | 35c7bd05afd9b1c5d3f3b0049773535e65b8d080 (patch) | |
| tree | 787733fdc2c526109cb0459f7cc05bc3f74938f6 /install/tools/ipa-server-install | |
| parent | 92a08266afb565bd50a8f059ef40f3d727fc2466 (diff) | |
| download | freeipa-35c7bd05afd9b1c5d3f3b0049773535e65b8d080.tar.gz freeipa-35c7bd05afd9b1c5d3f3b0049773535e65b8d080.tar.xz freeipa-35c7bd05afd9b1c5d3f3b0049773535e65b8d080.zip | |
Check that port 8443 is available when installing PKI.
https://fedorahosted.org/freeipa/ticket/4564
Reviewed-By: Martin Kosek <mkosek@redhat.com>
Diffstat (limited to 'install/tools/ipa-server-install')
| -rwxr-xr-x | install/tools/ipa-server-install | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/install/tools/ipa-server-install b/install/tools/ipa-server-install index f394f1e3c..ffff20a27 100755 --- a/install/tools/ipa-server-install +++ b/install/tools/ipa-server-install @@ -847,6 +847,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 options.conf_ntp: try: ipaclient.ntpconf.check_timedate_services() |
