Chapter 6. Configuring SSO authentication for the RHEL web console in the IdM domain
Configure Single Sign-On (SSO) authentication for the RHEL web console by using Identity Management (IdM). With SSO enabled, IdM users with a Kerberos ticket can access the web console without re-entering credentials.
You can use Single Sign-on (SSO) authentication provided by Identity Management (IdM) in the RHEL web console to leverage the following advantages:
- IdM domain administrators can use the web console to manage local systems.
- Users with a Kerberos ticket in the IdM domain do not have to provide login credentials to access the web console.
- All hosts known to the IdM domain are accessible through SSH from the local instance of the web console.
- Certificate configuration is not necessary. The console’s web server automatically switches to a certificate issued by the IdM certificate authority and accepted by browsers.
Configuring SSO for logging into the web console requires:
- You must add systems to the IdM domain by using the web console.
- If you want to use Kerberos for authentication, you must obtain a Kerberos ticket on your systems.
- Allow administrators on the IdM server to use any command on any host.
6.1. Joining a RHEL system to an IdM domain using the web console Copy linkLink copied to clipboard!
You can join a RHEL system to an IdM domain directly in the RHEL web console. This integrates the system into the centralized identity management environment, enabling IdM users to log in.
Prerequisites
- The IdM domain is running and reachable from the client you want to join.
- You have the IdM domain administrator credentials.
You have installed the RHEL 10 web console.
For instructions, see Installing and enabling the web console.
Procedure
- Log in to the RHEL 10 web console.
- In the Configuration field of the Overview tab click Join Domain.
- In the Join a Domain dialog box, enter the hostname of the IdM server in the Domain Address field.
- In the Domain administrator name field, enter the username of the IdM administration account.
- In the Domain administrator password, add a password.
- Click .
Verification
- If the RHEL 10 web console does not display an error, the system joined to the IdM domain and you can see the domain name in the System screen.
To verify that the user is a member of the domain, click the Terminal page and type the
idcommand:id
$ idCopy to Clipboard Copied! Toggle word wrap Toggle overflow euid=548800004(example_user) gid=548800004(example_user) groups=548800004(example_user) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
euid=548800004(example_user) gid=548800004(example_user) groups=548800004(example_user) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023Copy to Clipboard Copied! Toggle word wrap Toggle overflow
6.2. Logging in to the web console using Kerberos authentication Copy linkLink copied to clipboard!
You can log in to the RHEL web console by using Kerberos authentication. If you already have a valid Kerberos ticket from your IdM domain, you can access the console without re-entering your password.
With SSO, you usually do not have any administrative privileges in the web console. This only works if you configure passwordless sudo. The web console does not prompt for a sudo password interactively.
Prerequisites
IdM domain running and reachable in your company environment.
For details, see Joining a RHEL system to an IdM domain using the web console.
You have installed the RHEL 10 web console.
For instructions, see Installing and enabling the web console.
-
If the system does not use a Kerberos ticket managed by the SSSD client, request the ticket with the
kinitutility manually.
Procedure
Log in to the RHEL web console by entering the following URL in your web browser:
https://<dns_name>:9090
https://<dns_name>:9090Copy to Clipboard Copied! Toggle word wrap Toggle overflow