mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-25 08:21:05 -06:00
When installing with an IPA-created CA generate the Firefox autoconfiguration files.
458871
This commit is contained in:
parent
8edc9aa8aa
commit
4be5d862a6
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user