Help Center/ Cloud Search Service/ API Reference/ API V1/ Cluster Management/ Downloading a Security Certificate
Updated on 2025-11-28 GMT+08:00

Downloading a Security Certificate

Function

The certificate obtained through this API can be used for HTTPS-based secure 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

Value range:

Project ID of the account.

Default value:

N/A

Request Parameters

None

Response Parameters

Status code: 200

Table 2 Response body parameters

Parameter

Type

Description

file

String

Definition:

File stream

Default value:

N/A

Example Requests

Download the security certificate.

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

Example Responses

Status code: 200

Request succeeded.

"Certificate:xxxx"

Status Codes

Status Code

Description

200

Request succeeded.

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.