Kerberos authentication process
Remedy Single Sign-On (Remedy SSO) supports Kerberos authentication starting from the release 9.1.01. The following image shows the tasks that you need to perform to configure the Kerberos authentication in Remedy SSO.
Configuring Active Directory
|1||Active Directory administrator|
|2||Active Directory administrator|
|3||User who access to a server with the domain controller|
Creating a service account in Active Directory
- Go to Active Directory.
- Right-click Users > New > User.
- Enter the user name and the user logon name in the First name and User logon name fields.
- Click Next.
- Enter user password in the Password and Confirm password fields.
- Select the User cannot change password and Password never expires check boxes.
- Click Next.
- Click Finish.
Adding an SPN mapping for the service account
Before you begin
- Ensure that you have the user name and password for the service account.
- Ensure that you have the machine name where Remedy SSO server runs.
To add an SPN mapping
To add an SPN mapping, run the setspn command on one of the directories in the Active Directory machine.
setspn -S HTTP/<HOST> <USER>
For more information about the setspn command parameters, see the following list:
<HOST>: Fully qualified domain name of the host on which Remedy SSO server runs including the internet domain.
- <REALM>: Name of the Kerberos realm.
- <USER>: Logon name of the service account.
setspn -S HTTP/access.bmc.com remedyssoservice
(Optional) Generating a keytab file
A keytab contains the Service Principle Name (SPN) credentials for Remedy SSO to communicate with the domain controller. The clients use the SPN to request a service ticket during the authentication process.
Before you begin
- Obtain the user name and password for the service account.
- Obtain the machine name where Remedy SSO server runs.
- Ensure that you have appropriate administrative permissions to run the ktpass command.
To generate a keytab file
To generate a keytab file, run the ktpass command on the command line interface in an appropriate directory. The command automatically assigns HTTP/<host> SPN to the user.
ktpass /out <FILE> /princ HTTP/<HOST>@<DOMAIN> /pass <PASSWORD> /crypto ALL /ptype KRB5_NT_PRINCIPAL /Target <DOMAIN> /kvno 0
For more information about the ktpass command parameters, see the following list:
- <FILE>: Name of the keytab file that is to be generated.
- <HOST>: Fully qualified domain name of the host on which Remedy SSO server runs including the internet domain.
- <DOMAIN>: Active Directory domain name written in uppercase.
- <PASSWORD>: Password of the user.
ktpass /out c:\remedyssoservice.keytab /princ HTTP/access.example.com /crypto ALL /pass RemedySs0service /ptype KRB5_NT_PRINCIPAL /Target RSSO.COM /kvno 0
Before you begin
To configure the Kerberos authentication
In the left navigation panel of the Add Realm or Edit Realm page, click Authentication.
In the Authentication Type field, click KERBEROS.
(Optional) Select the Enable AR authentication for bypass check box to enable bypass URL to authenticate against AR. For more information about enabling BMC Remedy AR System authentication for bypass, see.
Enter the Kerberos details. For more information on parameters, see Kerberos authentication parameters.
- Click Test to verify the settings.
- (Optional) Click Enable Chaining Mode to enable authentication chaining and perform the following steps. For more information about the authentications that you can chain with LDAP, see Authentication chaining.
- Click Add Authentication.
- Select the required authentication type and enter the authentication details.
- Repeat Step a through Step b to add more authentications for the realm.
Kerberos authentication parameters
|Name of the Kerberos real. You must enter the realm in upper case.|
Service Principal Name (SPN)
Credential type to be used by the Remedy SSO server to log on to. Select one of the following:
|SPN Password||Password for the service account. This field is available only if you select SPN Password in the Credential Type field.|
Path to the keytabfile. This field is available only if you select Keytab File in the Credential Type field.
In a Remedy SSO server cluster environment, each Remedy SSO server node must contain the samekeytabfile andkeytabfile path.
Select one of the following formats from the list to transform the user id after a successful login.
Configuring the browser
After you have configured the Active Directory and Kerberos authentication settings, you must make sure that the browser on a user's system is configured to use Kerberos authentication. Ensure that the browser is not on the same computer on which you have installed Remedy SSO server.
Configuring Internet Explorer
- Navigate to Tools > Internet Options > Advanced.
- On the Advanced tab and in the Security section, select Enable Integrated Windows Authentication (requires restart).
- On the Security tab, select Local Intranet.
- Click Custom Level.
- In the User Authentication/Logon section, select Automatic logon only in Intranet zone.
- Click OK.
- Click Sites and select all check boxes.
- Click Advanced and add the Remedy SSO service website to the local zone (the website might be already added). For example, sample.bmc.com.
- Click Add.
- Click OK for all pop-ups.
Configuring Mozilla Firefox
- Enter the following URL: about:config.
- Click I'll be careful, I promise!
- Double-click the Preference Name: network.negotiate-auth.trusted-uris.
- Add the Fully Qualified Domain Name (FQDN) of the host, for example, sample.bmc.com.
- Double-click the Preference Name: network.automatic-ntlm-auth.trusted-uris.
- Add the fully qualified domain name (FQDN) of the host, for example, sample.bmc.com.
- Click OK.
Click the image to view the video.