When installing with an IPA-created CA generate the Firefox autoconfiguration files.

458871
This commit is contained in:
Rob Crittenden 2008-08-14 16:58:00 -04:00
parent 8edc9aa8aa
commit 4be5d862a6

View File

@ -515,10 +515,10 @@ def main():
http = ipaserver.httpinstance.HTTPInstance(fstore)
if options.http_pkcs12:
pkcs12_info = (options.http_pkcs12, pw_name)
http.create_instance(realm_name, host_name, domain_name, False, pkcs12_info)
http.create_instance(realm_name, host_name, domain_name, autoconfig=False, pkcs12_info=pkcs12_info)
os.remove(pw_name)
else:
http.create_instance(realm_name, host_name, domain_name, False)
http.create_instance(realm_name, host_name, domain_name, autoconfig=True)
# Create the config file
fstore.backup_file("/etc/ipa/ipa.conf")