Configure Okta as a CA with static SCEP challenge for Windows using Workspace ONE
Configuring a Certificate Authority (CA) allows you to issue client certificates to your targeted Windows devices. This topic describes how to create a static Simple Certificate Enrollment Protocol (SCEP) profile in Workspace ONE and generate a SCEP URL in Okta.
If you're using Workspace ONE, use static SCEP. Workspace ONE has known issues with dynamic SCEP.
To configure a delegated (dynamic) SCEP challenge type for Windows using Microsoft Intune, see Configure Okta as a CA with delegated SCEP challenge for Windows using MEM (formally Intune)
Before you begin
Make sure you have access to the Okta Admin Console.
Okta as a CA doesn't support renewal requests. Instead, redistribute the profile before the certificate expires to replace the expired certificate. All MDM SCEP policies should be configured to allow for profile redistribution.
Start this procedure
- Task 1: In Okta, configure management attestation and generate a SCEP URL and Secret Key
- Task 2: In Okta, download the x509 certificate
- Task 3: In Workspace ONE, create a static SCEP profile
- Task 4: In Workspace ONE, Add or Edit a Certificate Template
- Task 5: In Workspace ONE, define a device profile to deploy the Okta Intermediate CA to the Intermediate Store on devices
- Task 6: In Workspace ONE, define a user profile to deploy the Okta CA-issued client certificate to the Personal Store for management attestation
- Task 7: On a Windows computer, verify the certificate installation
In Okta, configure management attestation and generate a SCEP URL and a Secret Key
- In the Okta Admin Console, go to .
- Click the Endpoint management tab.
- Click Add platform.
- Select Desktop (Windows and macOS only).
- Click Next.
- On the Add Device management platform page, enter the following:
- Select Use Okta as certificate authority as the Certificate authority.
- Select Static SCEP URL as the SCEP challenge type.
- Click Generate.
- Copy and save the Okta SCEP URL and the Secret key. You will paste these in Workspace ONE in Task 3.
Save the SCEP URL and Secret key. This is the only time they will appear in Okta.
- Click Save.
In Okta, download the x509 certificate
The x509 certificate you download from Okta is the Organization Intermediate certificate.
- In the Okta Admin Console, go to .
- Click the Certificate authority tab.
- For the Okta CA certificate authority, click the Download x509 certificate icon in the Actions column.
You'll upload the certificate to Workspace ONE in Task 5.
In Workspace ONE, create a static SCEP profile
Configure the Okta CA as a certificate authority in Workspace ONE so you can deploy certificate profiles through the management channel.
- If not already, log in to Workspace ONE as an administrator.
- In Workspace ONE, click DEVICES (left ribbon bar).
- Click .
- Click + ADD.
- On the Certificate Authority - Add/Edit page, enter the following:
- Name: Enter a name for the CA.
- Description: Optional. Enter a description for the CA.
- Authority type: Select Generic SCEP.
- SCEP Provider: Basic is entered automatically and can't be changed.
- SCEP URL: Copy and paste the SCEP URL you generated in Task 1.
- Challenge Type: Click STATIC.
- Static Challenge: Copy and paste the Secret Key you generated in Task 1.
- Confirm Challenge Phrase: Copy and paste the Secret Key you generated in Task 1.
- Retry Timeout: Accept the default value of 30.
- Max Retries When Pending: Accept the default value of 5, or specify a different number of retries the system allows while the authority is pending.
- Enable Proxy: Accept the default value of DISABLED or select ENABLED if appropriate for your environment. If you select Enabled, Workspace ONE UEM acts as a proxy between the device and the SCEP endpoint defined in the CA configuration.
- Click TEST CONNECTION. If you select SAVE before TEST CONNECTION, the error Test is unsuccessful appears.
- After the Test is successful message appears, click SAVE AND ADD TEMPLATE.
If the test doesn't succeed, make sure that you can access the Okta SCEP URL you generated in Task 1.
In Workspace ONE, Add/Edit a Certificate Template
In this task you'll add a CA request template after you create a static SCEP profile in Task 3.
- In Workspace ONE, click the Request Templates tab.
- Click + ADD.
- On the Certificate Template - Add/Edit page, enter the following:
- Name: Enter a name for the template.
- Description: Optional. Enter a description for the template.
- Certificate Authority: Select the CA you created in Task 3.
- Issuing Template: Leave blank or configure as appropriate for your implementation.
- Subject Name: Enter a subject name. For example, CN = {EmailAddress} managementAttestation {DeviceUid}.
- Private Key Length: Select 2048.
- Private Key Type: Select Signing.
- SAN Type: N/A.
- Automatic Certificate Renewal: Click ENABLED.
- Publish Private Key: Click DISABLED.
Okta does not require the subject name to be in any particular format. Choose a name that indicates that the certificate is used as the device management signal to Okta. As a best practice, you can also include profile variables provided by Workspace ONE to include the device ID (UDID) and user identifier. For a list of supported variables, see Workspace ONE document Workspace ONE Lookup Values.
- Click SAVE.
In Workspace ONE, define a device profile to deploy the Okta Intermediate CA to the Intermediate Store on devices
- In Workspace ONE, click RESOURCES (left ribbon bar).
- Click .
- Click ADD, and then select Add Profile.
- Select .
- On the General page, enter the following:
- Name: Enter a name for the device profile.
- Description: Optional. Enter a description for the device profile.
- Deployment: Select Managed.
- Assignment Type: Accept the default or configure as appropriate for your implementation.
- Allow Removal: Accept the default or configure as appropriate for your implementation.
- Managed By: Enter the person or group with administrative access to the profile.
- Smart Groups: Begin typing the name of the group and then select it from the list.
- Exclusions: Allows you to exclude groups from the profile. Accept the default or configure as appropriate for your implementation.
- Additional Assignment Criteria: Allows you to schedule a deployment schedule.
- Removal Date: Allows you to specify a date when the profile is removed from the device.
- Click Credentials in the left pane.
- Click CONFIGURE.
- On the Credentials page, enter the following:
- Credential Source: Select Upload.
- Certificate: Click Upload and browse to the certificate you downloaded in Task 2.
- Key Location: Accept the default or configure as appropriate for your implementation.
- Certificate Store: Select Intermediate.
- Click SAVE AND PUBLISH.
In Workspace ONE, define a user profile to deploy the Okta CA-issued client certificate to the Personal Store on devices for management attestation
This task creates the management payload that pushes the client certificate information and credential to the client, allowing the client to connect to Okta and request a new client certificate. The client certificate is used for management attestation as part of Okta Verify-enabled flows.
- In Workspace ONE, click RESOURCES (left ribbon bar).
- Click .
- Click ADD, and then select Add Profile.
- Select .
- On the General page, enter the following:
- Name: Enter a name for the user profile.
- Description: Optional. Enter a description for the user profile.
- Deployment: Select Managed.
- Assignment Type: Select Auto.
- Allow Removal: Select Always.
- Managed By: Optional. Enter additional admin names.
- Smart Groups: Enter the same groups that you specified in Task 5.
- Exclusions: Allows you to exclude groups from the profile. Accept the default or configure as appropriate for your implementation.
- Additional Assignment Criteria: Allows you to schedule a deployment schedule.
- Removal Date: Allows you to specify a date when the profile is removed from the device.
- Click Credentials in the left pane.
- Click CONFIGURE.
- On the Credentials page, enter the following:
- Credential Source: Select Defined Certificate Authority.
- Certificate Authority: Select the same Certificate Authority that you configured in Task 3.
- Key Location: Select TPM If Present to support devices with or without TPM.
- Certificate Store: Select Personal.
- Click SAVE AND PUBLISH.
On a Windows computer, verify the certificate installation
- On a Windows computer, verify that the client certificate was installed:
- On the Windows computer, click Start, and then type cert.
- Click Manage user certificates.
- In Certificates - Current User, click .
- Make sure the client certificate exists.
- Verify the certificate authority (CA):
- In Certificates - Local Computer, click .
- In the Issued To column, find Organization Intermediate Authority.
- Make sure the Issued By column specifies Organization Root Authority for Organization Intermediate Authority.