Updated on 2025-08-22 GMT+08:00

Obtaining the SSL Certificate Download Address

API Description

This API is used to obtain the SSL certificate download address.

URI

  • URI format

    GET https://{Endpoint}/v3/{project_id}/instances/{instance_id}/ssl-cert/download-link

  • URI example
    https://dds.cn-north-1.myhuaweicloud.com/v3/619d3e78f61b4be68bc5aa0b59edcf7b/instances/e73893ef73754465a8bd2e0857bbf13ein02/ssl-cert/download-link
    Table 1 Request parameters

    Name

    Mandatory

    Type

    Description

    X-Auth-Token

    Yes

    String

    Definition

    User token obtained from IAM. For details, see Authentication.

    Constraints

    N/A

    Range

    N/A

    Default Value

    N/A

    project_id

    Yes

    String

    Definition

    Project ID of a tenant in a region. Obtain the project ID by following the instructions in Obtaining a Project ID.

    Constraints

    N/A

    Range

    N/A

    Default Value

    N/A

    instance_id

    Yes

    String

    Definition

    Instance ID, which can be obtained by calling the API described in Querying Instances and Details. If you do not have an instance, call the API described in Creating a DB Instance to create one.

    Constraints

    N/A

    Range

    N/A

    Default Value

    N/A

Request Parameters

None

Response Parameters

  • Parameter description
    Table 2 Response body parameters

    Name

    Type

    Description

    certs

    Array of Table 3 objects

    Definition

    Certificate list.

    Range

    N/A

    Table 3 CertInfo

    Name

    Type

    Description

    category

    String

    Definition

    Certificate type.

    Range

    • international: international certificate
    • national: SM series cryptographic certificate

    download_link

    String

    Definition

    Certificate download link.

    Range

    N/A

Example Request

GET https://{endpoint}/v3/619d3e78f61b4be68bc5aa0b59edcf7b/instances/e73893ef73754465a8bd2e0857bbf13ein02/ssl-cert/download-link

Example Response

Status code: 200

Success.

{    
  "certs" : [ {     
  "category" : "international",   
  "download_link" : "https://obs.xxx.myhuaweicloud.com/xxx/dds/ca-dds.crt"  
 } ]  
}

Status Code

For details, see Status Code.

Error Code

For details, see Error Code.