Configuring Single Sign-On using SAML 2.0 for AD FS

ManageEngine Key Manager Plus integrates seamlessly with Active Directory Federation Services (AD FS), enabling organizations to leverage AD FS's robust identity and access management capabilities for secure Single Sign-On (SSO). By configuring Key Manager Plus as a Service Provider (SP) and AD FS as an Identity Provider (IdP), users can centralize authentication processes, simplify access management, and enhance security through AD FS's advanced authentication mechanisms. This integration ensures that users can log in once via AD FS and gain access to Key Manager Plus without repeated authentication, providing a streamlined and secure user experience.

To enable this integration, organizations should configure AD FS with Key Manager Plus's SAML metadata, including essential details such as the Assertion Consumer Service (ACS) URL. This setup ensures accurate communication between the IdP and SP, enabling seamless authentication.

This document covers the following topics in detail:

1. Prerequisites

To integrate Key Manager Plus with AD FS, you need the SP details from the Key Manager Plus SSO configuration page. Navigate to Settings >> User Management >> SSO. Under Service Provider Details, copy the Entity ID and Assertion Consumer URL. You can also download the SP certificate file (spcert.cer) or the SP metadata file (metadata.xml) from this page to upload directly into AD FS.

2. Configuring Key Manager Plus as a Relying Party in AD FS 10.0

Active Directory Federation Services (AD FS), a Microsoft-developed identity and access management solution, supports SAML integration to deliver secure Single Sign-On (SSO) services across various systems and applications in an organization. Key Manager Plus leverages this capability to streamline authentication processes and enhance user experience. To successfully integrate Key Manager Plus and AD FS, you should configure Key Manager Plus as a Relying Party in AD FS 10.0.

  1. Navigate to Start >> All Programs >> Administrative Tools and open AD FS 10.0 Management.
  2. The first step is to add Trust Relationships in AD FS 10.0 to add Key Manager Plus details. Under Trust Relationships, right-click on Relying Party Trusts and select Add Relying Party Trust from the drop-down menu. This action will open the Add Relying Party Trust Wizard.
    1. On the Add Relying Party Trust Wizard, click Start and click the Select Data Source option from the left pane.
      adfs-saml-sso-1
    2. To upload data about the relying party, select the Import data about the relying party from a file option.
      adfs-saml-sso-2
    3. Click Browse to import the metadata.xml file downloaded from Key Manager Plus, and click Next.
    4. On the subsequent window, enter a name for the relying party in the Display name field, for example, Key Manager Plus. This name helps you uniquely identify Key Manager Plus in the AD FS portal. If you wish to add any additional details about the relying party, enter these in the Notes field and click Next.
      adfs-saml-sso-3
    5. Select the Permit everyone policy in the Choose Access Control Policy window and click Next.
      adfs-saml-sso-4
    6. Skip the Ready to Add Trust step by clicking Next and then Close.
  3. Key Manager Plus will be listed under Relying Party Trusts. Right-click on it and select Properties from the drop-down menu.
    adfs-saml-sso-5
  4. In the Properties dialog box, switch to the Advanced tab and select SHA-1 or SHA-256 as the Secure Hash Algorithm. Click Apply and then OK.
    adfs-saml-sso-6
  5. Right-click on Key Manager Plus again and select Edit Claim Issuance Policy from the drop-down menu.
  6. In the dialog box that appears:
    1. Click Add Rule under Issuance Transform Rules.
    2. Select Transform an Incoming Claim as the Claim rule template and click Next.
    3. Under Configure Claim Rule, perform the following:
      • Enter NameID as the Claim rule name.
      • Select the Windows account name as the Incoming claim type.
      • Select Name ID as the Outgoing claim type.
      • Select Transient Identifier for Outgoing name ID format.
    4. Click Finish.
      adfs-saml-sso-7
  7. Click Apply to save the changes, and close the Edit Claim Rules window by clicking OK.

You have configured Key Manager Plus as a Relying Party (RP) in AD FS. Proceed to the Key Manager Plus window in your browser to continue with the IdP configuration under Configure Identity Provider Details.

Caution

For users imported to Key Manager Plus from Active Directory, the usernames will be in the Domain\username format. By default, setting the Windows account name as the incoming claim type will match this format. However, if you have created Key Manager Plus local accounts for your AD users, you should select a different claim type that matches the username format in Key Manager Plus.

3. Configuring AD FS as an IdP in Key Manager Plus

After configuring Key Manager Plus as a Relying Party (RP) in AD FS, you should configure AD FS as an IdP in Key Manager Plus to establish it as a trusted entity. Navigate to Settings >> User Management >> SSO in Key Manager Plus and proceed with Configure Identity Provider Details. Select Upload the IdP metadata file, browse for the downloaded metadata.xml file, and click Save. The AD FS SAML SSO settings will now be saved in Key Manager Plus.

After saving, refresh the current page in Key Manager Plus. Under Import IdP's Certificate, you will see the current certificate details such as Issuer, Subject, and Serial Number. Click Save.

Additional Detail

You can download the IdP details as a metadata.xml file from the AD FS 10.0 console. Select Endpoints from the console's left navigation pane and scroll down to the Metadata list. Locate the URL Path provided for the Federation Metadata type and open the URL in a new browser tab to download the metadata XML file. You can upload this file directly under Configure Identity Provider Details on the Key Manager Plus SSO configuration page, eliminating the need to enter all IdP information manually.




Top