<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
"Error: Could not upload certificate" during Certificate Upload
Single Sign-On
Okta Classic Engine
Overview

After uploading a certificate into an application, an error appears:

Error: Could not upload certificate


Error message 
 

Applies To
  • App certificate
  • Single Logout (SLO)
  • Encryption
Cause
Bad format of the certificate file.
Solution

Use the following format to upload the X.509 certificate into Okta:

  1. Open a text editor of choice.

  2. Paste the following format into the text editor.

  3. Replace the [X509Certificate value] with your certificate value without the X.509 headers.

    -----BEGIN CERTIFICATE-----[X509Certificate value] -----END CERTIFICATE-----
    
    Example on macOS X while using the TextEdit application 

    NOTE: While using any text editing application, always ensure all contents within the file are set to plain text before saving.CER extension in step 4.

  4. Save the file with a .CER extension.

  5. Upload this new certificate file into the app.

Loading
"Error: Could not upload certificate" during Certificate Upload