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
|
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
|
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.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.