Cisco Secure Access Help

PDF

Cisco Secure Access Help

Configure AD FS for SAML

Want to summarize with AI?

Log in

Describes Configure AD FS for SAML in Cisco Secure Access and outlines Prerequisites and Procedure. It summarizes the related concepts, procedures, and operational details presented throughout the topic.


Cisco Secure Access uses Security Assertion Markup Language (SAML) to authenticate and authorize web requests from user devices on networks and network tunnels with Web security enabled, and requests to private resources from user devices with Zero Trust Access (ZTA) enabled. To support SAML authentication and authorization, you must configure the integration of an SAML identity provider (IdP) in Secure Access.

Configure Active Directory Federation Services (AD FS) with Secure Access by uploading the AD FS XML metadata file to Secure Access, or alternatively add the AD FS metadata in Secure Access manually.

For information about provisioning users from AD FS to Secure Access, see Provision Users and Groups from Active Directory.

Prerequisites

  • For information on prerequisites that apply to all SAML IdPs, see Prerequisites for SAML Authentication.

  • We recommend that you bypass web traffic to the id.sse.cisco.com domain on the Secure Access secure web gateway (SWG).


Step 1 – Add SSO Authentication Profile in Secure Access

This guide describes how to add SSO authentication profiles for the integration of user authentication IdPs in Secure Access.

After you provision users and groups in Cisco Secure Access with a provisioning identity provider (IdP), you can configure the integration of a single sign-on (SSO) authentication identity provider (IdP). Secure Access supports Security Assertion Markup Language (SAML) and OpenID Connect (OIDC) to authenticate users.

When you add an SSO authentication profile in Secure Access, you must assign one of the user directories (integrated cloud provisioning IdPs) with the profile. You can associate a user directory that is not already assigned to an SSO authentication profile. For more information, see Manage User Directories.

Before you begin

  • Full Admin user role. For more information, see Manage Accounts.

  • Add the Cisco User Management Connector integration app. For more information see Add the Cisco User Management Connector App in Okta.

    Note
    When you add the Cisco User Management Connector application to your IdP, the connector app only supports SAML. You cannot use OIDC to authenticate with the connector.

Procedure

  1. Navigate to Connect > Users and User Groups, and then click Configuration management.


    The Users and Groups Top Nav interface.
  2. Navigate to SSO authentication, and then click Add SSO authentication.

    The Duo SSO 1 interface.
  3. For SSO Authentication Name, enter a unique name for the SSO authentication profile.


    The SSO Auth Profile Add Name interface.
  4. For Authentication Method, click Security Assertion Markup Language (SAML) or OpenID Connect (OIDC).


    The User Auth SAML or Oidc interface.
  5. For User Directory, choose the directory for the cloud IdP that provisions the users and groups.


    The SSO Auth Choose Directory interface.
  6. Click Next.

  7. For IdP Authentication, follow the steps in the OIDC or SAML configuration guides to complete the integration of the SSO authentication IdP.

  8. We strongly recommend deploying a test configuration to ensure users can authenticate with the assigned IdP. For more information see Test SAML Identity Provider Integration.

  9. Click Done.


Step 2 – Add AD FS Identity Provider in Secure Access

In the SSO authentication profile, select the SAML IdP, copy the metadata URL for the Secure Access service provider, and choose the time interval when end users will authenticate with Secure Access.

Before you begin

For information on the prerequisites to integrate an SAML IdP with Secure Access, see Prerequisites for SAML Authentication.

Procedure

  1. In the IdP Authentication section, step 2 of the wizard, copy the metadata URL for the Secure Access service provider, and choose the time interval when end users will authenticate with Secure Access.

  2. Select an Identity Provider.

    The Secure Access Choose Sample Provider interface.
  3. (Optional) Enable an organization-specific entity ID.

    • Organization-specific Entity ID—Choose this option when you have multiple Secure Access organizations and need to configure SAML authentication for Secure Access Internet Security and Zero Trust Network Access (ZTNA) for these organizations against the same IdP. The Secure Access SAML default common EntityID is saml.fg.id.sse.cisco.com. Secure Access allows you to override the default Secure Access SAML EntityID for each organization.

  4. For Entity ID URL, click Copy URL.

    Save the Secure Access metadata URL in your local environment.

    The Secure Access SAML default common EntityID is saml.fg.id.sse.cisco.com.

    Note
    Use the Secure Access SP metadata URL to configure the SAML IdP app integration.
    The SSE Entity ID URL interface.
  5. Choose a time interval when a user must authenticate with Secure Access, or select Never. The time intervals are: Daily, Weekly, or Monthly.

    The IdP Update Frequency interface.
  6. Click Next.


Step 3 – Add the Identity Provider's SAML Metadata to Secure Access

Download the Secure Access Metadata XML file and use the service provider file to configure your instance of AD FS.

The Secure Access service provider metadata includes the service provider Issuer ID, the assertion consumer endpoint URL, and the SAML request signing certificate from Secure Access. The Secure Access metadata is required when configuring your IdP.

Your IdP must send the Cisco Secure Access User principal name in the NameID attribute in the SAML assertion.


Step 3a – Download the Secure Access Service Provider files

Note

Encrypted SAML assertions are a compliance standard in many industries and mitigate the risk of intercepted SAML assertions.

Before you begin

Procedure

  1. Check SAML Metadata XML Configuration or Manual Configuration.

  2. Choose between unencrypted or encrypted SAML assertions.

    1. Click Download Service Provider XML file for the metadata XML file with the Secure Access root certificate that supports unencrypted SAML assertions.
    2. Click Download Zip file for the metadata XML file and signing and encryption certificate files required for encrypted SAML assertions.

      This metadata XML file includes the root certificate metadata for both the signing and the encryption certificates.

    The SAML IdP Configuration interface.
  3. Open the Cisco_SSE_SP_Metadata XML file.

  4. Copy the certificates from the Cisco_SSE_SP_Metadata XML file to a new file and save.

    Use the certificate file in the next step when you create the app integration in the SAML IdP.

Step 3b – Add the Secure Access Service Provider Metadata to AD FS

Add the Secure Access service provider metadata to your instance of AD FS, then download the IdP metadata file to finish configuring Secure Access in the next step.

Contact Microsoft for assistance. For more information on configuring your IdP, exporting your IdP metadata, obtaining your IdP details, or downloading your IdP's signing certificate, refer to your vendor's documentation.

Before you begin

  • For information on prerequisites that apply to all SAML IdPs, see Prerequisites for SAML Authentication.

  • We recommend that you bypass web traffic to the id.sse.cisco.com domain on the Secure Access secure web gateway (SWG).

Procedure

  1. Log into AD FS and navigate to Server Manager > Tools > AD FS Management.


    The ADFS Update 1 interface.
  2. In the AD FS Manager, right-click on Trust Relationships and navigate to Relying Party Trusts > Add Relying Party Trust and select Start.


    The ADFS Update 2 interface.
  3. Choose Import data about the relying party from a file and browse for the metadata.xml file downloaded from Secure Access.


    The ADFS Update 3 interface.
  4. For Display name, provide a meaningful name for the trust connection, and then click Next.


    The ADFS SSE Relying Party Trust interface.
  5. Select I do not want to configure multi-factor authentication settings for this relying party trust at this time and click Next.


    The ADFS Update 5 interface.
  6. Select Permit all users to access relying party and click Next.


    The ADFS Update 6 interface.
  7. Verify settings and click Next.


    The Screen Shot 2021 09 17 at 10 30 18 Am interface.
  8. Right-click on the recently created relaying party and select Edit Claim Rules.


    The ADFS Update 8 interface.
  9. Under Issuance Transform Rules, click Add Rule, then choose Send Claims Using a Custom Rule.

    c:\[Type == "http://schemas.microsoft.com/ws/2008/06/identity/claims/windowsaccountname", Issuer == "AD AUTHORITY"\] 
    
    => issue(store = "Active Directory", types = ("http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress"), query = ";userPrincipalName;{0}", param = c.Value);
    The ADFS Update 10 interface.
  10. Repeat the previous step with the following configuration.

    c:\[Type == "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress"\] 
    
    => issue(Type = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier", Issuer = c.Issuer, OriginalIssuer = c.OriginalIssuer, Value = c.Value, ValueType = c.ValueType, Properties\["http://schemas.xmlsoap.org/ws/2005/05/identity/claimproperties/format"\] = "urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress");

    The ADFS Update 9 interface.

Step 3c – Add the SAML IdP Metadata to Secure Access

Procedure

  1. If you selected SAML Metadata XML Configuration in Step 3a, upload your configured SAML IdP Metadata XML file to Secure Access, then click Done.

    The Upload SAML IdP Metadata XML interface.
  2. If you selected Manual Configuration in Step 3a, enter your SAML IdP metadata for the Secure Access settings, then click Done.

    • Entity ID—A globally unique name for an identity provider.

    • Endpoint—The URL used to communicate with your identity provider.

    • Signing Keys—Your identity provider's x.509 certificate that is used to sign the authentication request.

    • Signed Authentication Request (optional)—Choose whether to sign the authentication request for the IdP.

    The Manual Configuration interface.