Skip navigation
Documentation

Trusted Endpoints - AirWatch Managed Device Deployment

Duo's Trusted Endpoints feature secures your sensitive applications by ensuring that only known devices can access Duo protected services. When a user authenticates via the Duo Prompt, we'll check for the access device's management status. You can monitor access to your applications from managed and unmanaged devices, and optionally block access from devices not managed by your organization.

Before enabling the Trusted Endpoints policy on your applications, you'll need to deploy the Duo device certificate or REST API access for Duo to your managed mobile devices. This guide walks you through AirWatch configuration for Android and iOS mobile devices.

Prerequisites

  • Access to the Duo Admin Panel as an administrator with the Owner, Administrator, or Application Manager administrative roles.
  • Access to the AirWatch Console as an administrator with the rights to create roles, accounts, certificate authorities, and device profiles.

Create the AirWatch Integration

  1. Log in to the Duo Admin Panel and navigate to Trusted Endpoints Configuration.
  2. If this is your first management integration, click the Configure Management Tools Integration button at the bottom of the page. If you're adding another management integration, click the Add Integration button you see instead.
  3. On the "Select Management Tools Integration" page, locate AirWatch in the listed integrations and click the Select this integration link to the right.

The new AirWatch integration is created in the "Off" state. You'll turn it on when you're ready to apply your Duo trusted endpoints policy.

Keep the Duo Admin Panel open in your browser. You'll need to refer back to the AirWatch management integration page to complete the Android and/or iOS configuration steps.

Android Configuration

Duo determines trusted device status on Android devices by leveraging the installed Duo Mobile application on a given device to verify device information. To enable this verification you'll need to grant Duo read-only access to those devices via your AirWatch MDM's API access.

Create a Role for Duo

  1. Log on to the AirWatch console as an administrator and navigate to AccountsAdministratorsRoles.

  2. Click the Add Role button. Enter a Name (like "Duo API") and Description for the new role on the "Create Role" page.

  3. Click on the "API" category on the left and then locate REST - Devices - REST APIs for device management in the API category list. Check the box in the "Read" column to grant the new Duo API role read access to devices. Click Save to create the role.

    Create Duo API Role

Create a Duo Admin Account

  1. Navigate to AccountsAdministratorsList View in the AirWatch console.

  2. Click the Add button and choose Add Admin on the pop-up menu.

  3. Enter the following information on the "Basic" tab form:

    Username Enter the desired Duo account username.
    Password and Confirm Password Enter and confirm a strong password for the Duo admin user.
    Require password change at next login Leave set to "Disabled".
    First Name and Last Name Enter a first and last name for the Duo admin user (e.g. "Duo" "Admin").
    Email Address Enter an email address for your Duo admin user.
    Time Zone and Last Name Select your time zone.
    Locale and Last Name Select your language/region.
    Initial Landing Page and Last Name Leave as the default option

    Do not make any changes to the "Two-factor Authentication Method" or "Notification" options.

    New Duo Admin - Basic Tab

  4. Click the "Roles" tab then click the Add Role button. Choose your Organization Group from the list presented. Locate and select the "Duo API" read-only role you created earlier in the Role list. Click the checkbox at the far left to enable the Duo role for the Duo admin user.

    New Duo Admin - Role Tab

  5. Click the "API" tab and ensure that the Basic Authentication option is selected.

    New Duo Admin - API Tab

  6. Click Save to create the Duo admin user.

Create the Duo REST API Key

  1. Navigate to Groups & SettingsAll SettingsSystemAdvancedAPIRest API in the AirWatch console.

  2. Click Add to generate a new REST API key. This appends a new row in the existing API keys table.

  3. Click into the blank Service field for the newly-generated API key to type in a service name for this API key (like "Duo API"). You can also enter additional identifying information in the Description field.

  4. Leave the "Account Type" set to Admin and click Save.

    New Duo API key

Enter AirWatch Info in Duo

  1. Return to your AirWatch management integration page in the Duo Admin Panel.

  2. Enter the following information into the blank fields under step 4 of the AirWatch "Android Configuration Instructions" section:

    Admin Username Enter the Duo admin username you created in AirWatch.
    Admin Password Enter the password for the Duo admin user you created in AirWatch.
    API Key Enter the REST API key you created for Duo in AirWatch.
    Domain Name Enter your organization's AirWatch domain. For example, if you access the AirWatch console at https://acmecorp.awmdm.com then you'd enter acmecorp.awmdm.com as the domain name.
  3. Click the Test Configuration button to verify Duo's API access to your AirWatch instance. You'll receive a "Configuration Succesful!" message if everything's correct. If the test fails, verify that you completed the AirWatch configuration steps and entered the right information in the Duo Admin Panel.

  4. After you successfully test your configuration, click the Save & Configure Android Devices button.

iOS Configuration

Duo verifies the trusted status of iOS devices by checking for the presence of a Duo device certificate. You'll use AirWatch to push the Duo CA information to your mobile devices so they can obtain a Duo certificate.

Add the Duo Certificate Authority

  1. Log on to the AirWatch console as an administrator and navigate to DevicesCertificatesCertificate Authorities.

  2. Click the Add button and enter the Duo Certificate Authority (CA) information from the AirWatch management integration page in the Duo Admin Panel as follows:

    Name Enter a descriptive name, like "Duo CA".
    Description Enter additional information about this new Duo CA, if desired.
    Authority Type Microsoft ADCS
    Protocol SCEP
    Version NDES 2008/2012
    SCEP URL Paste in the SCEP URL from the "Add a Certificate Authority" section of the iOS instructions on the AirWatch management integration page in the Duo Admin Panel.
    Challenge Type Dynamic
    Challenge Username Paste in the Username from the "Add a Certificate Authority" section of the iOS instructions on the AirWatch management integration page in the Duo Admin Panel.
    Challenge Password Paste in the Password from the "Add a Certificate Authority" section of the iOS instructions on the AirWatch management integration page in the Duo Admin Panel.
    SCEP Challenge URL Paste in the Challenge URL from the "Add a Certificate Authority" section of the iOS instructions on the AirWatch management integration page in the Duo Admin Panel.
    Enable Proxy Disabled

    You do not need to set any advanced options for this CA. Click Save and Add Template after entering all the required information to move to the next steps of adding a new device certificate template.

    Add Duo CA

Add a Device Certificate Template

  1. If you didn't get to the "Certificate Template - Add/Edit" page from the new CA page then navigate to DevicesCertificatesCertificate AuthoritiesRequest Templates and click the Add button.

  2. Enter the Certificate Template information from the AirWatch management integration page in the Duo Admin Panel as follows:

    Name Enter a descriptive name, like "Duo CA Template".
    Description Enter additional information about this new certificate template, if desired.
    Certificate Authority Select the Duo CA you added earlier.
    Subject Name Paste in the Subject Name from the "Add a Certificate Template" section of the iOS instructions on the AirWatch management integration page in the Duo Admin Panel.
    Private Key Length 2048
    Private Key Type Signing

    Click Save after entering all the required information.

    Add Duo CA Template

Deploy a Device Profile to iOS Devices

  1. Navigate to DevicesProfiles & ResourcesProfiles in the AirWatch console.

  2. Click Add and choose Add Profile on the pop-up menu.

  3. Click Apple iOS.

  4. Fill out the General form on the "Add a New Apple iOS Profile" page with the following information:

    Name Enter a descriptive name, like "Duo iOS Profile".
    Description Enter additional information about this new profile, if desired.
    Deployment Type Leave as "Managed".
    Assignment Type Leave as "Auto".
    Allow Removal Change to Never or With Authorization to prevent end users removing the Duo profile from their devices. If you select With Authorization then you'll need to enter an authorization password as well.
    Assigned Groups Select the device groups to which you want to assign the Duo CA profile.

    The remaining options may be left at their default values. You still need to configure SCEP before saving the new iOS profile.

    Add Duo Profile - General Info

  5. Click the SCEP link on the left and then click Configure.

  6. Configure the new SCEP as follows:

    Credential Source Leave as "Defined CA".
    Certificate Authority Select the Duo CA you added earlier.
    Certificate Template Select the Duo CA Template you added earlier.

    Click the Save & Publish button after filling out the General and SCEP information.

    Add Duo Profile - SCEP Info

You can monitor the profile's deployment status under DevicesProfiles & ResourcesProfiles.

Finish Trusted Endpoints Deployment

Once your AirWatch managed devices receive the Duo config you can set the Trusted Endpoints policy to start checking for managed device status as users authenticate to Duo-protected services and applications.

When your trusted endpoints policy is applied to your Duo applications, return to the AirWatch trusted endpoint management integration in the Admin Panel and activate it either by changing the selection at the top of the page from "Off" to "On" (to immediately apply this to all your Duo users), or select "Test" and pick a target Duo group to verify your setup against a subset of users.

The Device Insight and Endpoints pages in the Duo Admin Panel show which access devices are trusted/managed.

Verify Your Setup

Users on Android devices see a prompt to "check your permissions" when authenticating to a protected resource via the Duo Prompt.

Android Trusted Endpoint Verification - Step 1

Duo uses the API access you granted in AirWatch to verify device information.

Android Trusted Endpoint Verification - Step 2

If Duo successfully verifies the device information using the AirWatch API access then the user receives access to the protected application.

Android Trusted Endpoint Verification Failed

iOS users will see a prompt asking them to choose a certificate when authenticating to a protected resource via the Duo prompt. After selecting the Duo Device Authentication certificate and completing authentication, subsequent Duo authentications from the same device will automatically use that same certificate for verification.

Removing the AirWatch Management Integration

Deleting a trusted endpoints management tool integration from the Duo Admin Panel immediately invalidates issued Duo device authentication certificates. Be sure to unassign your trusted endpoints policy from all applications or remove the "Trusted Endpoints" configuration item from your global policy before deleting an existing AirWatch integration from "Trusted Endpoints Configuration". You should also disable your Duo admin user in AirWatch.

Leaving the policy settings in place after deleting a management tools integration may inadvertently block user access to applications.

Troubleshooting

Need some help? Take a look at our Trusted Endpoints Knowledge Base articles or Community discussions. For further assistance, contact Support.

Ready to Get Started?

Sign Up Free