You can call this operation to create a certificate signing request (CSR).

Note The maximum number of times that each user can call this operation per second is 100.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Required CreateCdnCertificateSigningRequest

The operation that you want to perform. Set the value to CreateCdnCertificateSigningRequest.

CommonName String Required CommonName

The Common Name of the SSL certificate.

SANs String No

The Subject Alternative Name (SAN) extension of the SSL certificate. This extension is used to add domain names to the certificate. Separate multiple domain names with commas (,).

Organization String No Alibaba Inc

The name of the organization. Default value: Alibaba Inc.

OrganizationUnit String No Aliyun CDN

The name of the organization unit. Default value: Aliyun CDN.

Country String No CN

The country to which the organization belongs. Default value: CN.

State String No Zhejiang

The provincial district to which the organization belongs. Default value: Zhejiang.

City String No Hangzhou

The city to which the organization belongs. Default value: Hangzhou.

Email String No

The email address that can be used to contact the organization.

Response parameters

Parameter Type Example Description
CommonName String

The Common Name of the certificate.

Csr String CSR content

The content of the CSR.

PubMd5 String 629bf4fd8104eda171135bcb0f77****

The MD5 value of the certificate public key.

RequestId String 0AEDAF20-4DDF-4165-8750-47FF9C1929C9

The ID of the request.


Sample requests
&<Common request parameters>

Sample success responses

XML format


JSON format

    "RequestId": "0AEDAF20-4DDF-4165-8750-47FF9C1929C9",
    "Csr": "-----BEGIN CERTIFICATE REQUEST-----\nMIIC/zqTxxxxx\n-----END CERTIFICATE REQUEST-----\n",

Error codes

For a list of error codes, visit the API Error Center.