Skip to content
Snippets Groups Projects
Commit 5afd8890 authored by Thomas Woerner's avatar Thomas Woerner
Browse files

ipareplica_krb_enable_ssl: Initialize krb.pkcs12_info and krb.master_fqdn

These two settings are not set using the krb.init_info method, but used in
krb.enable_ssl.

The configuration of PKINIT fails in IPA 4.7.0 because of the issue
https://pagure.io/freeipa/issue/7655 where auto detection of the
master is not properly working. With the missing setting of krb.master_fqdn
the not workint auto detection has been triggered, which resulted in
failed PKINIT enablement.
parent 5d881a9b
No related branches found
No related tags found
No related merge requests found
......@@ -133,6 +133,8 @@ def main():
krb.init_info(api.env.realm, api.env.host,
setup_pkinit=not options.no_pkinit,
subject_base=options.subject_base)
krb.pkcs12_info = options._pkinit_pkcs12_info
krb.master_fqdn = master_host_name
ansible_log.debug("-- KRB ENABLE_SSL --")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment