Cisco Secure Access Help

PDF

Cisco Secure Access Help

Configure Duo Security for SAML

Want to summarize with AI?

Log in

Describes Configure Duo Security 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 the Duo Security SAML IdP with Secure Access by uploading the Duo Security XML metadata file to Secure Access, or alternatively add the Duo Security metadata in Secure Access manually.

Prerequisites


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 Duo 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 Duo Security.

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 Secure Access Service Provider Metadata to Duo Security

Configure Secure Access with a Duo Single Sign-On for Cisco Secure Access. Add the Secure Access service provider metadata to Duo, then download the IdP metadata file from Duo to finish configuring Secure Access.

Contact Duo Security 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 the Duo Security documentation.

  • To automatically configure the Cisco Secure Access SAML Duo Single Sign-On application, use the Metadata Discovery option in Update Your Cloud Application in Duo. Upload the Secure Access service provider metadata file Cisco_SSE_SP_Metadata to the Duo Single Sign-On app.

  • To manually configure the Cisco Secure Access SAML Duo Single Sign-On application, extract the EntityID and AssertionConsumerService URLs from the Secure Access metadata and add these to the applicable fields in Duo Security.

Before you begin

Procedure

  1. Sign in to the Duo admin portal and navigate to Applications > Protect an Application.

  2. Search for Cisco Secure Access Service Provider and select 2FA with SSO hosted by Duo.

  3. For Entity ID, enter saml.fg.id.sse.cisco.com and for Assertion Consumer Service (ACS) URL, enter fg.id.sse.cisco.com/gw/auth/acs/response.

    The Duo SSE Entity ID interface.
  4. Enter an email address in the NameID attribute field.


    The Name ID interface.
  5. For Map attributes, configure the IdP attributes.

    • Display name—Enter the name you want to display.

    • Email Address—Enter an email address.

    • First Name—Enter the first name.

    • Last Name—Enter the last name.

    • Username—Enter the user name.

    The Map Attribute interface.
  6. Click Save.

  7. Click Download certificate to download the certificate, and then click Download XML to download the SAML Metadata file.


    Click Save. Click Download certificate to download the certificate, and then click Download XML to download the SAML Metadata file.

Step 3c – Add the Duo Security SAML 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.