All Products
Search
Document Center

Certificate Management Service:UploadCsr

Last Updated:Jul 31, 2024

Uploads a certificate signing request (CSR) file

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
NamestringNo

The name of the CSR.

name
CsrstringYes

The content of the CSR.

-----BEGIN CERTIFICATE REQUEST----- ...... -----END CERTIFICATE REQUEST-----
KeystringNo

The private key content of the certificate in the PEM format.

-----BEGIN RSA PRIVATE KEY----- MII.... -----END RSA PRIVATE KEY-----

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

CsrIdlong

The ID of the CSR.

2271
RequestIdstring

The ID of the request.

CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D

Examples

Sample success responses

JSONformat

{
  "CsrId": 2271,
  "RequestId": "CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D"
}

Error codes

For a list of error codes, visit the Service error codes.