Single Sign-On is literally everywhere and Foreman is able to handle it, too. Using Kerberos, dbus, sssd and some Authentication Mods for Apache make it possible and the installer simplifies it.
However, your host has to be enrolled in FreeIPA.
From here on out, you can continue retrieving the Keytab from the ipa server and set appropriate permissions to it.
[root@katello ~]# kinit admin
[root@katello ~]# ipa service-add HTTP/katello.archyslife.lan@aARCHYSLIFE.LAN
[root@katello ~]# ipa-getkeytab -s ipa01.archyslife.lan -k /etc/http.keytab -p HTTP/katello.archyslife.lan@aARCHYSLIFE.LAN
[root@katello ~]# chown apache /etc/http.keytab
[root@katello ~]# chmod 600 /etc/http.keytab
Check if the Keytab has been generated as expected. If the HTTP Principal is there, it's fine.
[root@katello ~]# klist -k /etc/http.keytab
Keytab name: FILE:/etc/http.keytab
KVNO Principal
---- --------------------------------------------------------------------------
1 HTTP/katello.archyslife.lan@ARCHYSLIFE.LAN
1 HTTP/katello.archyslife.lan@ARCHYSLIFE.LAN
Now you can start the installer. The option for Kerberos auth is boolean '--foreman-ipa-authentication'.
[root@katello ~]# foreman-installer --foreman-ipa-authentication=true
Note that this might take a while so I'd suggest running it in a screen or tmux session so that if you get disconnected the command won't abort.
Freel free to comment and / or suggest a topic.
Comments
Post a Comment