mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
First step in enabling SSL in the IPA web server
This commit is contained in:
@@ -43,6 +43,7 @@ from optparse import OptionParser
|
||||
import ipaserver.dsinstance
|
||||
import ipaserver.krbinstance
|
||||
import ipaserver.bindinstance
|
||||
import ipaserver.httpinstance
|
||||
from ipa.ipautil import run
|
||||
|
||||
def parse_options():
|
||||
@@ -387,8 +388,8 @@ def main():
|
||||
print "To accept the default shown in brackets, press the Enter key."
|
||||
print ""
|
||||
|
||||
check_ports()
|
||||
check_existing_installation()
|
||||
check_ports()
|
||||
|
||||
options = parse_options()
|
||||
logging_setup(options)
|
||||
@@ -508,6 +509,10 @@ def main():
|
||||
krb = ipaserver.krbinstance.KrbInstance()
|
||||
krb.create_instance(ds_user, realm_name, host_name, dm_password, master_password)
|
||||
|
||||
# Create a HTTP instance
|
||||
http = ipaserver.httpinstance.HTTPInstance()
|
||||
http.create_instance()
|
||||
|
||||
bind.setup(host_name, ip_address, realm_name)
|
||||
if options.setup_bind:
|
||||
skipbind = False
|
||||
|
||||
Reference in New Issue
Block a user