Skip navigation
Documentation

Duo Single Sign-On for Cisco Firepower with AnyConnect

Last Updated: October 26th, 2021

Add two-factor authentication and flexible security policies to Cisco Firepower with AnyConnect SSO logins with Duo Single-Sign On, our cloud-hosted SAML 2.0 identity provider, complete with inline self-service enrollment and Duo Prompt.

Overview

Duo's SAML SSO for Cisco Firepower (FTD) supports inline self-service enrollment and the Duo Prompt for AnyConnect and web-based SSL VPN logins. This deployment option requires that you have a SAML 2.0 identity provider (IdP) in place that features Duo authentication, like Duo Single Sign-On. Primary and Duo secondary authentication occur at the identity provider, not at the Firepower itself.

These instructions walk you through adding SSO to your FTD using the Firepower Management Center (FMC) console. The instructions also assume you already have a functioning FTD Remote Access SSL VPN deployment using an existing AAA authentication server (like an on-premises AD/LDAP directory).

Cisco Firepower SSO requires FTD/FMC version of 6.7.0 or higher, plus AnyConnect 4.6 or later. Prior versions of FTD/FMC and AnyConnect do not support SAML login or use a different browser experience. Add Duo protection to earlier Firepower versions with our Cisco Firepower RADIUS with AnyConnect configuration.

Duo Beyond customers should be aware of these AnyConnect client minimum version requirements for Duo's Trusted Endpoints certificate detection.

Operating System AnyConnect Version
Windows AnyConnect 4.7.04056 or later
macOS AnyConnect 4.8.00175 or later
iOS AnyConnect 4.8.00807 or later

Trusted Endpoints detection on Android does not rely on certificates, so there is no dependency on a specific AnyConnect app version.

About Duo Single Sign-On

Duo Single Sign-On is our cloud-hosted SSO product which layers Duo's strong authentication and flexible policy engine on top of Cisco Firepower logins using the Security Assertion Markup Language (SAML) 2.0 authentication standard. Duo Single Sign-On acts as an identity provider (IdP), authenticating your users using existing on-premises Active Directory (AD) or any SAML 2.0 IdP and prompting for two-factor authentication before permitting access to Cisco Firepower.

Duo Single Sign-On is available in Duo Beyond, Duo Access, and Duo MFA plans, which also include the ability to define policies that enforce unique controls for each individual SSO application. For example, you can require that Salesforce users complete two-factor authentication at every login, but only once every seven days when accessing Cisco Firepower. Duo checks the user, device, and network against an application's policy before allowing access to the application.

Configure Single Sign-On

Before configuring Cisco Firepower you'll first need to enable Duo Single Sign-On for your Duo account and configure a working authentication source.

Once you have your SSO authentication source working, continue to the next step of creating the Cisco Firepower application in Duo.

Create the Cisco Firepower Application in Duo

  1. Log on to the Duo Admin Panel and navigate to Applications.

  2. Click Protect an Application and locate the entry for Cisco Firepower Threat Defense VPN with a protection type of "2FA with SSO hosted by Duo (Single Sign-On)" in the applications list. Click Protect to the far-right to start configuring Cisco Firepower Threat Defense VPN. See Protecting Applications for more information about protecting applications in Duo and additional application options. You'll need the information on the Cisco Firepower Threat Defense VPN page under Metadata later.

Duo Universal Prompt

The new Universal Prompt provides a simplified and accessible Duo login experience for web-based applications, offering a redesigned visual interface with security and usability enhancements.

Universal Prompt Traditional Prompt
 Duo Push in Universal Prompt  Duo Push in Traditional Prompt

We've already updated the Duo Cisco Firepower Threat Defense VPN application hosted in Duo's service to support the Universal Prompt, so there's no action required on your part to update the application itself. You can activate the Universal Prompt experience for users of new and existing Duo Cisco Firepower Threat Defense VPN applications from the Duo Admin Panel.

Before you activate the Universal Prompt for your application, it's a good idea to read the Universal Prompt Update Guide for more information about the update process and the new login experience for users.

Activate Universal Prompt

Activation of the Universal Prompt is a per-application change. Activating it for one application does not change the login experience for your other Duo applications.

The "Universal Prompt" area of the application details page shows that this application is "New Prompt Ready", with these activation control options:

  • Show traditional prompt: (Default) Your users experience Duo's traditional prompt when logging in to this application.
  • Show new Universal Prompt: Your users experience the Universal Prompt when logging in to this application.

Universal Prompt Info - Application Ready for Universal Prompt

Enable the Universal Prompt experience by selecting Show new Universal Prompt, and then scrolling to the bottom of the page to click Save.

Once you activate the Universal Prompt, the application's Universal Prompt status shows "Update Complete" here and on the Universal Prompt Update Progress report.

Universal Prompt Info - Universal Prompt Activation Complete

Should you ever want to roll back to the traditional prompt, you can return to this setting and change it back to Show traditional prompt.

Universal Update Progress

Click the See Update Progress link to view the Universal Prompt Update Progress report. This report shows the update availability and migration progress for all your Duo applications in-scope for Universal Prompt support. You can also activate the new prompt experience for multiple supported applications from the report page instead of visiting the individual details pages for each application.

Configure Cisco Firepower SSO

Add Duo Single Sign-On to Cisco Firepower as a new single sign-on provider. These instructions assume you're using FMC to configure FTD.

Upload Certificate

  1. Click Download certificate next to "Identity Provider Certificate" on the Duo Admin Panel under Downloads to download the Duo Single Sign-On certificate file.

  2. Log into your Cisco FMC that manages your FTD you'd like to configure to use SSO.

  3. Click on the Devices button at the top of the screen; from the drop-down click on Certificates.

  4. On the "Certificates" page click the Add button in the top-right corner of the screen. A new window will pop-up.

  5. On the "Add New Certiciate" screen use the drop-down under Device to select the FTD where you're configuring SSO.

  6. Under "Certificate Enrollment" click the + button. A new window will pop-up.

  7. On the “Add Cert Enrollment” page type Duo_Single_SignOn or a memorable name into the Name field.

  8. Under the "CA Information" tab select Manual from the Enrollment Type drop-down.

  9. Check the box next to CA Only.

  10. Open the certificate file you downloaded earlier in a text editor (like Notepad), and copy the entire contents of the file (including the -----BEGIN CERTIFICATE----- and -----END CERTIFICATE----- lines). Paste the certificate file text into the CA Certificate field in FMC.

    Cisco Firepower Install Certificate

  11. Click Save at the bottom of the window.

  12. You'll be returned to the "Add New Certificate" window. Click Add.

Add a Single Sign-On Server

  1. On the Cisco FMC page click on the Objects button at the top of the screen, from the drop-down click on Object Management.

  2. On the left-hand navigation expand AAA Server and click on Single Sign-on Server.

  3. Click the Add Single Sign-on Server button in the upper-right hand corner of the page. A new window will pop-up.

  4. In the Name field type Duo_Single_SignOn or a memorable name.

  5. Copy the Identity Provider Entity ID from the Duo Admin Panel Metadata section and paste it into the Cisco Firepower Identity Provider Entity ID field.

    Example: https://sso-abc1def2.sso.duosecurity.com/saml2/sp/DIABC123678901234567/metadata

  6. Copy the SSO URL from the Duo Admin Panel Metadata section and paste it into the Cisco Firepower SSO URL field.

    Example: https://sso-abc1def2.sso.duosecurity.com/saml2/sp/DIABC123678901234567/sso

  7. Copy the Logout URL from the Duo Admin Panel Metadata section and paste it into the Cisco Firepower Logout URL field.

    Example: https://sso-abc1def2.sso.duosecurity.com/saml2/sp/DIABC123678901234567/slo

  8. Under Base URL enter the publicly resolvable hostname of your Cisco Firepower into the field.

    Example: https://vpn.example.com

  9. Select Duo_Single_SignOn from the drop-down under Identity Provider Certificate.

  10. Select the SSL certificate used for the Cisco Firepower itself from the drop-down under Service Provider Certificate.

    Important: You may need to update this selection when your SSL certificate expires or you change your Cisco Firepower to use a new certificate.

  11. Leave the Request Signature set to No Signature.

  12. Type 300 into the Request Timeout field.

  13. Uncheck the box next to Request IdP re-authentication on Login unless you want to be require users to reauthenticate even if their Duo Single Sign-On session is still valid.

  14. Leave all other options at their default setting.

  15. Click Save to be returned to the “Single Sign-on Server” page.

    Cisco Firepower SSO Identity Provider Setup

Assign SSO to a Connection Profile

  1. On the Cisco FMC page click on the Devices button at the top of the page, from the drop-down click on Remote Access.

  2. Click the pencil icon for the remote access configuration you'd like to update.

  3. On the "Connection Profile" tab click the pencil icon for the connection profile you'd like to use SSO. A new window will pop-up.

  4. On the "Edit Connection Profile" page click on the AAA tab.

  5. Under "Authentication" select SAML from the Authentication Method drop-down.

  6. Select Duo_Single_SignOn (SSO) or the name you used instead for your SSO server from the Authentication Server drop-down.

  7. If you have more than one connection profile click the Aliases tab and make sure you have an "Alias Name" enabled for this connection profile.

  8. Click Save. The window will close.

  9. Click Save at the top-right hand side of the page.

    Cisco Firepower Connection Profile Setup

Learn more about Cisco Firepower SSO at Cisco Support.

Deploy Changes to the Firepower Device

  1. On the Cisco FMC page click on the Deploy button at the top of the page, from the drop-down click on Deployment.

  2. On the "Deployment" page check the box next to the FTD targeted for SSO. Click Deploy.

  3. A pop-up will appear asking you to write deployment notes and then click Deploy.

  4. The changes will take a few minutes to roll out and then you should see "Completed" under the "Status" section for that FTD device.

Update the Cisco Firepower Application in Duo

  1. Return to the Duo Admin Panel with the Cisco Firepower application open. Find the Service Provider section.

  2. Enter the base URL of your Cisco Firepower that you entered above as the Cisco Firepower Base URL. For example, if your Cisco Base base URL is https://vpn.example.com then enter vpn.example.com.

  3. Enter the connection profile of your Cisco Firepower that you entered above as the Connection Profile Name. The connection profile name is case-sensitive and must match. For example, if your connection profile name is default_profile then enter default_profile.

  4. Cisco Firepower uses the Mail attribute when authenticating. We've mapped the <Email Address> bridge attribute to Duo Single Sign-On supported authentication source attributes as follows:

    Bridge Attribute Active Directory SAML IdP
    <Email Address> mail Email

    If you are using a non-standard email attribute for your authentication source, check the Custom attributes box and enter the name of the attribute you wish to use instead.

  5. You can adjust additional settings for your new SAML application at this time — like changing the application's name from the default value, enabling self-service, or assigning a group policy.

  6. Scroll to the bottom of the page and click the Save button.

    Duo Cisco Firepower Application Settings

Verify SSO

You can log into your Cisco Firepower using your organization’s login page e.g. https://vpn.example.com. Select the connection profile and click Logon. This redirects you to Duo Single Sign-On to begin authentication.

Active Directory Login

With Active Directory as the Duo SSO authentication source, enter the primary username (email address) on the Duo SSO login page and click or tap Next.

Duo Single Sign-On Login

Enter the AD primary password and click or tap Log in to continue.

Duo Single Sign-On Password

SAML Login

With another SAML identity provider as the Duo SSO authentication source, Duo SSO immediately redirects the login attempt to that SAML IdP for primary authentication. Users do not see the Duo SSO primary login screen.

Duo Authentication

Successful verification of your primary credentials by Active Directory or a SAML IdP redirects back to Duo. Complete Duo two-factor authentication when prompted and then you'll return to the Firepower VPN to complete the login process.

Duo Universal Prompt *Universal Prompt experience shown.

You can also log into Cisco Firepower using Duo Central, our cloud-hosted portal which allows users to access all of their applications in one spot. Link to Cisco Firepower in Duo Central by adding it as an application tile. Once the tile has been added, log into Duo Central and click the tile for Cisco Firepower.

Cisco AnyConnect mobile or desktop apps require version 4.6 or higher. Select your connection profile from your AnyConnect client and click Login. You will be redirected to authenticate to Duo Single Sign-On.

Congratulations! Your Cisco Firepower users now authenticate using Duo Single Sign-On.

See the full user login experience, including expired password reset (available for Active Directory authentication sources) in the Duo End User Guide for SSO.

Enable Remembered Devices

To minimize additional Duo two-factor prompts when switching between Cisco Firepower and your other Duo Single Sign-On SAML applications, be sure to apply a shared "Remembered Devices" policy to your SAML applications.

Troubleshooting

Need some help? Try searching our Knowledge Base articles or Community discussions. For further assistance, contact Support.