<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

Update a Non-Okta Managed Custom Domain Certificate

Okta Classic Engine
Okta Identity Engine
All Engines
Custom URL Domains

Overview

Updating or replacing an existing custom domain certificate that Okta does not manage requires adding the new certificate, private key, and certificate chain in the Okta Admin Console. The certificate must meet the Rivest-Shamir-Adleman (RSA) key size and Secure Hash Algorithm (SHA) requirements to avoid errors.

Applies To

  • Custom Domain
  • Certificate
  • Okta Classic Engine
  • Okta Identity Engine (OIE)

Solution

What are the steps to update a non-Okta managed custom domain certificate?

 

Update the custom domain certificate by navigating to the Brands section in the Okta Admin Console and providing the new certificate details.



  1. Log in to the Okta Admin Console.
  2. Navigate to Customizations > Brands > select the Brand > go to the Domains tab.
  3. Click the Edit button, and click the Update Certificate button.

    The following image displays the Update Certificate button in the Domains tab.

TLS certificate

  1. Paste the new certificate, private key, and certificate chain into the respective fields, and include the "Begin" and "End" tags.

    The following image provides an example of the correctly formatted certificate fields.

Certificate

  1. Click the Finish button.

The custom domain certificate must meet specific requirements.

Review the following certificate requirements to ensure compatibility.

  • The RSA key sizes must equal 2048 bits, 3072 bits, or 4096 bits.
  • The certificate requires a SHA signature, such as SHA256, SHA384, or SHA512.

For more information, review the Caveats section from the documentation.

Validate the certificate information using OpenSSL to avoid errors.

Use OpenSSL to review and validate the certificate information before uploading it to Okta.

openssl x509 -in certificate.crt -noout -text

Validating the certificate helps avoid errors, such as the following example.

 

Private key length exceeded

 

Error

 

    Related References

    Loading
    Update a Non-Okta Managed Custom Domain Certificate | Okta Support