Okta Certificate Authority Renewal and Activation Process
Last Updated:
Overview
Okta periodically renews the Okta Certificate Authority (CA) to maintain security and compliance. Administrators must download the renewed certificate and upload it to the Mobile Device Management (MDM) solution to prevent service disruptions and certificate validation failures during enrollment. The solution involves identifying the correct renewal process based on the organization's configuration and executing the appropriate steps in the Admin Console or via the API.
Applies To
- Okta Identity Engine (OIE)
- Okta Classic Engine
- Okta Certificate Authority (CA)
- Management Attestation Condition in Authentication Policies
Cause
Okta periodically renews the Okta CA to ensure security. An Okta CA remains valid for five years and automatically renews after three and a half years. Organizations leveraging the Okta management attestation feature must upload the new CA to the MDM to allow Okta to issue new client certificates. Microsoft Intune pins issued client certificates against the CA certificate in the Trusted Certificate Profile. Devices requesting a new client certificate fail validation if administrators switch the Simple Certificate Enrollment Protocol (SCEP) configuration to the renewed CA before updating the profile. Jamf does not deploy the CA certificate to devices, and Workspace ONE uploads the certificate for chain-building without pinning, preventing these solutions from experiencing the same failure. The updated API process prevents this failure by allowing Intune configurations to move to the renewed CA alongside the existing configuration.
Solution
How do administrators determine the correct renewal process?
The organization's configuration determines the required process. Process A applies to organizations without the renewal enhancement. Process B applies to organizations with the renewal enhancement. Contact Okta Support for assistance in determining the applicable process.
Process A outlines the Admin Console steps for organizations without the renewal enhancement.
Download the latest Okta CA, upload the certificate to the MDM solution, and activate the new Okta CA in Okta.
- In the Okta Admin Console, navigate to Security > Device Integrations.
- Select the Certificate authority tab.
- In the Actions column for the Okta CA, select the Download x509 certificate icon.
- Rename the downloaded file to include a
.cerextension. - Upload the renewed certificate to the MDM solution.
NOTE: Do not remove the previous CA from the MDM until all managed devices have client certificates issued by the renewed CA. - Activate the new CA in Okta by selecting Activate in the Actions column for the Okta CA.
NOTE: If administrators take no action, Okta activates the renewed CA automatically about six months after creation, roughly a year before the previous CA expires. If administrators do not update the MDM by then, Okta cannot issue new client certificates. Activate the CA as soon as administrators confirm the MDM upload rather than waiting.
Process B outlines the updated API steps for organizations with the renewal enhancement.
Review the following requirements before proceeding with the API steps.
- An API token or OAuth 2.0 access token.
- Read calls:
okta.certificateAuthorities.readscope. - Renewal call:
okta.certificateAuthorities.managescope. Only a Super Administrator or Organization Administrator can perform this action; Okta returns a 403 error for other roles.
NOTE: Do not select Activate in the Admin Console during this process. This action moves all SCEP configurations to the renewed CA at once and breaks enrollment for devices that lack migration. If administrators already selected Activate, contact Okta Support and do not renew again. If a renewed CA awaits activation, the renewal call activates the CA automatically.
How do administrators identify and download the renewed Certificate Authority?
Execute a GET request to identify the renewed CA and download the renewed certificate.
- Execute the following GET request to identify the renewed CA:
GET /pki/api/v2/certificate-authorities?type=INTERMEDIATE&expand=certificates - Locate the certificate with an
ACTIVErotation state under_embedded.certificatesfor each authority. This represents the renewed certificate requiring deployment. The certificate markedRETIRINGundergoes a phase-out process but remains valid until expiration. - Note the
authorityInstanceIdfrom the authority and theskifrom the certificate with theACTIVErotation state. - Execute the following GET request to download the renewed CA certificate:
GET /pki/api/v2/certificate-authorities/{authorityInstanceId}/certificates/{ski}/download
NOTE: Optional parameters includeformat=pem(default) orformat=der, andinclude=chainto return the renewed certificate plus the issuing root. Administrators cannot combineinclude=chainwithformat=der. Useinclude=chainif the MDM expects the full chain.
The configuration type determines the migration strategy for each Simple Certificate Enrollment Protocol configuration.
Execute the following GET request to review the SCEP configurations.
GET /pki/api/v2/certificate-authorities/{authorityInstanceId}/registration-authorities
The renewal call identifies each configuration by the raId. This represents the ID field in the response and the last path segment of the SCEP URL (/pki/{authorityInstanceId}/scep/{raId}).
Review the following table to determine the migration strategy based on the configuration type.
| Console label |
API challenge type
| Strategy to use |
| Static SCEP URL |
STATIC
| Rollover |
| Dynamic SCEP URL - Generic | DYNAMIC | Rollover |
| Dynamic SCEP URL - Microsoft Intune (delegated SCEP) | DELEGATED |
Parallel
|
The Intune type displays as "Dynamic SCEP URL" in the console, but the challenge type is DELEGATED, not DYNAMIC. The "(delegated SCEP)" suffix distinguishes this type.
- Rollover: Switches the configuration to the renewed CA in place. The SCEP URL does not change.
- Parallel: Creates a second configuration on the renewed CA alongside the original to allow gradual device migration.
- Microsoft Intune: Use the parallel strategy. The rollover strategy causes certificate validation failures.
- Jamf and VMware Workspace ONE: Use the rollover strategy. For Workspace ONE, update the Credentials payload and confirm with VMware whether the solution validates against a locally deployed CA certificate.
- Other MDMs: Use the parallel strategy if the MDM validates against a locally deployed CA certificate.
NOTE: The parallel strategy remains available only forDELEGATEDconfigurations. In the console, Intune appears as "Dynamic SCEP URL - Microsoft Intune (delegated SCEP)". Administrators can combine strategies in a single request.
The renewal requires a POST request and updates to the Mobile Device Management profiles.
Upload the certificate to Microsoft Intune, execute the renewal POST request, create the new SCEP profile, and retire the old configuration.
- For parallel configurations, create a new Trusted Certificate Profile in Microsoft Intune and upload the downloaded certificate.
NOTE: Do not modify the existing Trusted Certificate Profile or SCEP profile. - Execute the following POST request to renew the CA:
POST /pki/api/v2/certificate-authorities/{authorityInstanceId}/renew { "rolloverConfigIds": ["<raId>", "<raId>"], "parallelConfigs": [ { "sourceConfigId": "<raId>", "protocol": "SCEP", "challengeType": "DELEGATED", "name": "Intune Windows (renewed CA)" } ] }
NOTE: Each parallel entry requires asourceConfigId, aprotocolofSCEP, and achallengeTypeofDELEGATED. Supply a name to distinguish the two live configurations in the Admin Console, as the renewal does not generate a default name. The new configuration inherits the Intune connection settings, including the client secret, from thesourceConfigId. SendconfigInfoonly to change a setting. Okta rejects requests that lack a named configuration. Rolled-over configurations become live on the renewed CA immediately after the call returns, requiring no further action. - For parallel configurations, create a new SCEP profile in Microsoft Intune using the
scepUrlfrom the API response and link the profile to the new Trusted Certificate Profile. Copy thescepUrlexactly, as it differs from the existing URL only in the last path segment. Administrators can also copy the URL from Security > Device Integrations > Certificate configuration. Leave the existing profiles in place and unmodified. - Assign both profiles to the same device groups as the existing profiles.
- Devices request a new client certificate during the next check-in. Devices must remain powered on, and SCEP enrollment enforces rate limits. Track re-enrollment through the MDM certificate reporting before retiring the old profiles.
- Delete the old SCEP profile and old Trusted Certificate Profile in Microsoft Intune after every device receives a client certificate from the renewed CA.
- Delete the old SCEP configuration in Okta by executing the following DELETE request:
DELETE /api/v1/certificateAuthorities/{authorityInstanceId}/registrationAuthorities/{raId}
NOTE: This action deletes the SCEP configuration only. The configuration becomes inert once the previous CA expires. Administrators cannot delete the previous CA.
What happens if administrators take no action?
The previous CA remains valid, and existing client certificates continue functioning until expiration. If administrators fail to update the MDM by the expiration date, devices cannot obtain new client certificates and lose access to Okta-protected resources. For Process A, Okta auto-activates the renewed CA about six months after creation. Okta stops issuing new client certificates at that point if administrators have not updated the MDM.
Will the renewed Certificate Authority activate automatically?
For organizations using Process A, Okta activates the renewed CA automatically about six months after creation. For organizations using Process B, the process lacks an activation step, and Okta does not auto-activate the CA.
Are both Certificate Authorities valid simultaneously?
Existing client certificates continue authenticating during the migration. Once the previous CA expires, devices can no longer use certificates issued by the expired CA to sign in.
Can administrators delete the previous Certificate Authority from Okta?
Administrators cannot delete a CA from Okta. The previous CA remains in place until the expiration date. Okta chain validation rejects certificates issued by the expired CA. Administrators must remove the previous CA certificate from the MDM only after every managed device holds a client certificate issued by the renewed CA. Removing the certificate earlier prevents managed devices from reaching Okta-protected resources. The deadline represents the expiration date of the previous CA, which occurs up to 18 months after the creation of the renewed CA. Read the exact date from the previous certificate rather than calculating the date. After that date, Okta treats affected devices as unmanaged until the devices re-enroll.
What happens if the renewal call returns a 409 Conflict error?
The renewal already succeeded. Each SCEP configuration migrates onto a renewed CA only once, causing Okta to reject repeat calls. For a parallel migration, the error names the previously created configuration. Execute a GET request to /pki/api/v2/certificate-authorities/{authorityInstanceId}/registration-authorities to locate the configuration and read the scepUrl. Do not execute the renewal call again.
Why do Jamf and Workspace ONE configurations lack support for the parallel strategy?
Parallel migration currently functions only for SCEP configurations with a DELEGATED challenge type. Jamf and Workspace ONE use static or dynamic challenges and do not require parallel migration. The rollover strategy retains the same SCEP URL, eliminating the need for MDM profile changes.
