First step in enabling SSL in the IPA web server

This commit is contained in:
Rob Crittenden
2007-10-15 15:42:12 -04:00
parent a4143789da
commit ed8f506b0f
4 changed files with 84 additions and 3 deletions

View File

@@ -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