Updated on 2026-09-02 GMT+08:00

Downloading a Security Certificate

Function

The certificate obtained through this API can be used for HTTPS-based secure Elasticsearch/OpenSearch cluster connections, where encryption and user authentication occur.

Calling Method

For details, see Calling APIs.

URI

GET /v1.0/{project_id}/cer/download

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Definition

Project ID. For details about how to obtain the project ID and name, see Obtaining the Project ID and Name.

Constraints

N/A

Range

Project ID of an account. The value contains 32 characters, consisting of lowercase letters and digits.

Default Value

N/A

Request Parameters

None

Response Parameters

Status code: 200

Table 2 Response body parameters

Parameter

Type

Description

-

File

File data stream.

Example Requests

Download the security certificate.

GET https://{Endpoint}/v1.0/{project_id}/cer/download

Example Responses

Status code: 200

Request succeeded. File stream returned.

"Certificate:xxxx"

Status Codes

Status Code

Description

200

Request succeeded. File stream returned.

400

Invalid request.

Modify the request before retry.

404

The requested resource could not be found.

Modify the request before retry.

Error Codes

See Error Codes.