- Renew a certificate authority
- okta.certificateAuthorities.manage
Renews a certificate authority (CA) by migrating specified Simple Certificate Enrollment Protocol (SCEP) configurations to a pre-generated replacement certificate.
While Okta automatically generates a new CA certificate before your current one expires — valid and able to issue certificates from the moment it's generated — admins must use this operation to complete the renewal by moving their chosen SCEP configurations to the new certificate with one of the following strategies:
- Rollover. The configuration moves onto the renewed CA, keeping its ID and SCEP enrollment URL. Choose this when your mobile device management (MDM) software can pick up the renewed CA certificate on its own, as Jamf Pro does.
- Parallel. The configuration stays on its current certificate, and a new configuration is created against the renewed CA, so both enroll devices while you migrate. Choose this when your MDM software must be given the renewed CA certificate first, as Microsoft Intune does through its trusted certificate profile.
Only a delegated-challenge configuration can be migrated in parallel. Migrate a static or dynamic configuration with rolloverConfigIds, which keeps its SCEP enrollment URL anyway.
Name at least one configuration, and call the operation again as each MDM becomes ready. A configuration left behind by an earlier renewal can migrate later.
The request fails with:
400if no configurations are named, a configuration is named twice, or the authority lacks a replacement CA certificate404if a named configuration doesn't exist orauthorityInstanceIdspecifies a root CA409if a configuration already migrated (allows safe retries of timed-out requests)
For parallel migrations, a 409 response names the configuration already created from that source. When two requests arrive simultaneously, the second request is refused without a configuration name.
The configurations to clone against the renewed certificate. Each source configuration stays on the certificate it's already bound to, so both certificates can enroll devices during the migration.
- https://subdomain.okta.comhttps://subdomain.okta.com/pki/api/v2/certificate-authorities/{authorityInstanceId}/renew
curl -i -X POST \
'https://subdomain.okta.com/pki/api/v2/certificate-authorities/{authorityInstanceId}/renew' \
-H 'Content-Type: application/json' \
-d '{
"rolloverConfigIds": [
"racm2yda3v5fIHTQm4x7",
"rac6kzcjk4IcgtZ574x7"
]
}'OK
The configurations created against the renewed certificate, each naming the configuration it was cloned from in its own sourceConfigId. Empty if the request asked for none.
One generation of a certificate authority — a distinct key pair, X.509 certificate, and expiry. Renewal adds a new one to the same authority.
{ "renewedCertificate": { "ski": "53D22A615854286F8CD72E3E18E0FACC7A9D3948", "aki": "B94E9A79DF30FC870CF018C274138A0BF56DEB04", "authorityInstanceId": "1699E4263D0DC9D9FDA0B6AAE1286E5F7B57ACCC", "rotationState": "ACTIVE", "type": "INTERMEDIATE", "caType": "OKTA_AS_CA", "subjectDN": "CN=Organization Intermediate Authority, OU=00o1a2b3c4D5e6F7g8h9, DC=example, DC=okta, DC=com", "status": "VALID", "createdDate": "2026-09-25T00:10:20.000+0000", "lastUpdatedDate": "2026-09-25T00:10:20.000+0000", "expirationDate": "2031-09-25T00:10:19.000+0000", "jwk": { … } }, "rolledOverConfigs": [ { … }, { … } ], "newParallelConfigs": [ { … } ] }