How to attain Okta Device Attestation for Windows devices?

Managed devices should be attested by Okta for provisioning SSO extension with Okta and Okta Device Trust. In the case of Windows devices ,attestation is achieved by Mobile Device Manager Plus by distributing management attestation certificates to the device through SCEP.

Overview

Device attestation is achieved for Windows devices by deploying Management attestation certificates. The administrator or technician must first generate an SCEP URL and Secret key in Okta, and then using it create a Certificate Authority (CA) server and Template in the MDM console. The devices should then be associated to this Certificate Server and Template using an SCEP profile. After that, the devices must be distributed to the Okta Verify app, and the user must setup the Okta Verify app and log in once to achieve attested status. Follow the detailed steps specified below to configure Okta Device Trust :

Step 1: Generate an SCEP URL and Secret key

First, generate an SCEP URL and Secret key in the Okta portal by following the steps provided below :

  1. Sign in to Okta and go to Security > Device Integrations. Here, select platform as Desktop, and click Next.
  2. In the next page, select SCEP URL challenge type as Static SCEP, and click Generate. Then copy the SCEP URL and Secret key generated to your clipboard.
  3. Download the CA certificate as it will be required in succeeding steps. If your CA is Okta , then download it from Actions under Certificate authority.

Step 2:Create a Certificate Server and Template in MDM

After generating an SCEP URL and Secret key Okta, a Certificate Server and Template should be created in the MDM console .For this follow the steps provided below :

  1. In the MDM console, go to Device Management > Certificates > CA Server,and click on Add CA Server. Keep server type as Generic SCEP, and provide a name for the Certificate Authority.
  2. Paste the SCEP URL copied from Okta in the SCEP URL , and upload the CA certificate. Then click Save to proceed.
  3. Provide a name for the SCEP Template and under Subject, paste CN=%devicename% managementAttestation %udid%.Set the Challenge type as Static and for the Enrollment challenge password paste the Secret Key copied from Okta.
  4. Then set the Key Size as 2048 and choose Yes for the options Use as Digital Signature and Use For Key Encipherment.
  5. Finally click Save to create the CA Server.

Step 3:Create an SCEP Profile in the MDM console

Next we need to create an SCEP profile to distribute to your managed devices.For that:

  1. Go to Device Mgmt > Profiles. Click on Create Profile and choose macOS.
  2. Choose the SCEP Template and select the CA server. Click Save and then Publish.
  3. Click Save and then Publish.

Step 4:Associate the SCEP Profile to the Devices

For associating SCEP profile with the devices follow the steps given below:

  1. In the MDM Console, navigate to Groups & Devices under Device Mgmt and select the respective group(s) or device(s).
  2. Then choose Actions and click on Associate Profile.Then select the SCEP profile and click Associate.

Step 5:Distribute Okta Verify App to the Devices

Once the SCEP profile has been associated to the devices, the Okta Verify app should be distributed to the devices. For Windows, the app can be added as an MSI package.
Finally for the device(s) to achieve the attested status, the User should Setup Okta Verify with your organisation allotted credential and sign up at least once.