目录

Requesting a Debug Certificate

A digital certificate configures signing information for a HarmonyOS app or atomic service. It is used to ensure software code integrity and identity authenticity of the person that releases the app or atomic service. The certificate file is in .cer format and contains information such as the public key and certificate fingerprint (digest).

Certificates are classified into debug certificates and release certificates based on application scenarios.

Each account can request up to three debug certificates.

Before You Start

Procedure

  1. Sign in to AppGallery Connect and choose Certificates, app IDs, and profiles.
  2. In the navigation tree on the left, choose Certificates and click New certificate.

  3. Enter the certificate information in the New certificate window, and click Submit.

    Parameter

    Description

    Certificate name

    Enter no more than 100 characters.

    Certificate type

    Select Debug certificate.

    CSR file

    Upload the CSR file you have prepared.

  4. After the certificate request is approved, check information like the certificate name on the Certificates page. Click Download to save the generated certificate to the local device for subsequent signing and debugging.

    • A certificate becomes valid once it is successfully requested. Currently, for a developer who has completed identity verification, the debug certificate is valid for one year. For a developer who has not completed identity verification, the debug certificate is valid for 14 days.
    • If the certificate becomes invalid or is revoked, it will no longer be available, and all profiles requested using the certificate will also become invalid or revoked. In this case, you need to request a new certificate and profile.
    • A revoked certificate cannot be restored and all profiles requested using the certificate will become invalid. Exercise caution when performing this operation.