mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
server install: fix KRA agent PEM file not being created
In commit 822e1bc82a
the call to create the
KRA agent PEM file was accidentally removed from the server installer.
Call into the KRA installer from the server installer to create the file
again.
https://fedorahosted.org/freeipa/ticket/6392
Reviewed-By: Stanislav Laznicka <slaznick@redhat.com>
This commit is contained in:
parent
4028ad73e7
commit
998c87af2b
@ -181,6 +181,7 @@ class KRAInstaller(KRAInstall):
|
||||
|
||||
self.options.dm_password = self.options.password
|
||||
self.options.setup_ca = False
|
||||
self.options.setup_kra = True
|
||||
|
||||
api.Backend.ldap2.connect()
|
||||
|
||||
|
@ -77,7 +77,7 @@ def install(api, replica_config, options):
|
||||
|
||||
pkcs12_info = None
|
||||
master_host = None
|
||||
ra_only = False
|
||||
ra_only = not options.setup_kra
|
||||
promote = False
|
||||
else:
|
||||
krafile = os.path.join(replica_config.dir, 'kracert.p12')
|
||||
|
@ -609,6 +609,7 @@ def install_check(installer):
|
||||
|
||||
if setup_ca:
|
||||
ca.install_check(False, None, options)
|
||||
kra.install_check(api, None, options)
|
||||
|
||||
if options.setup_dns:
|
||||
dns.install_check(False, api, False, options, host_name)
|
||||
@ -809,6 +810,7 @@ def install(installer):
|
||||
|
||||
if setup_ca:
|
||||
ca.install_step_1(False, None, options)
|
||||
kra.install(api, None, options)
|
||||
|
||||
# The DS instance is created before the keytab, add the SSL cert we
|
||||
# generated
|
||||
|
Loading…
Reference in New Issue
Block a user