<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
System Status
Announcements
Announcements
Search
Search
Select Language

Migrate a Custom Domain to an Okta-Managed Certificate

Okta Classic Engine
Okta Identity Engine
Custom URL Domains

Overview

Okta administrators can migrate a custom domain certificate from a Bring Your Own Certificate (BYOC) model to an Okta-managed certificate by contacting Okta Support. An Okta-managed certificate updates automatically upon expiration, reducing administrative overhead.

 

NOTE: Let's Encrypt makes validation requests during the domain validation process. Network zones can introduce complexities or restrictions that interfere with these processes, leading to potential failures in certificate management. Therefore, to maintain a seamless, reliable certificate management experience, Okta may require the removal of network zones when using Okta-managed certificates. If network zones cause failures during the certificate renewal process, the certificate may not renew and may expire. Contact Okta Support to force the renewal. If the problem persists, recreate the custom domain or switch to BYOC. Changing the Okta subdomain name to a different one also changes the Canonical Name (CNAME) record of the custom domain. If this new CNAME is not updated in the Domain Name System (DNS) record, the certificate does not automatically update upon expiration.

Applies To

Solution

How is a certificate migrated to an Okta-managed certificate?

Submit a case with Okta Support to request the migration of a certificate to an Okta-managed certificate. Okta Support triggers the migration on the back end. This process usually takes several minutes to complete and propagate. This method allows administrators to migrate without downtime or reconfiguring the custom certificate setup.

In the unlikely event that the migration fails, the domain continues to use the previous certificate and incurs no downtime. Most of the time, improper Domain Name System (DNS) records cause failures. Okta Support can provide more details on why the migration did not complete, if necessary.

NOTE: Once the migration completes, Okta cannot roll back to the previous manually managed certificate. The administrator must re-add the previously used certificate and keys, which must be saved before the migration.

What are the advantages of migrating to an Okta-managed certificate?

The Okta-managed certificate updates automatically upon its expiration.

Do administrators receive a notification if the Okta-managed certificate does not renew automatically?

Yes, if there are any issues with the automatic certificate renewal process, administrators receive an email notification.

In what situations does the Okta-managed certificate fail to renew automatically?

If the CNAME and Text (TXT) records are deleted or incorrect, Okta cannot confirm them with the DNS provider, leading to a renewal failure. Another scenario for failure occurs if the custom domain expires, as it is not possible to add a certificate to a non-existent custom domain. If the environment uses a blocklist network zone, the renewal request can also be blocked. If it is not possible to remove the network zone blocklist, provide an owned managed certificate.

Are new DNS records required to update the DNS provider?

The migration process from BYOC to an Okta-managed certificate is automatic and only updates the certificate to a Let's Encrypt certificate. The DNS records do not change or update; they remain the same.

Verify the certificate migration in the System Log.

Query the System Log for the renewal event to verify the certificate migration.

  1. Navigate to the System Log.
  2. Enter the following query:
eventType eq "system.custom_url_domain.cert_renew"
  1. Review the resulting event, which resembles the following image.
    System log

Verify the certificate migration in the Admin Console.

Check the domain settings in the Admin Console to verify the certificate migration.

  1. Navigate to Customizations > Domain.
  2. Verify that the certificate appears as Okta-managed, as shown in the following image.
    Domain

How is the migrated certificate viewed in a browser?

Inspect the secure connection details in a web browser to view the migrated certificate.

  1. Navigate to the custom domain in a web browser.
  2. Select the lock icon next to the URL.
  3. Navigate to Connection is Secure > Certificate is Valid.
  4. Preview the certificate to confirm Let's Encrypt issued it and that it shows a recent issue date, as demonstrated in the following image.
    Certificate Viewer
Loading
Migrate a Custom Domain to an Okta-Managed Certificate | Okta Support