You can call this operation to query the detailed information about a certificate.

Debugging

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 Yes DescribeDcdnCertificateDetail

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

CertName String Yes yourCertName

The name of the certificate.

Response parameters

Parameter Type Example Description
Cert String -----BEGIN CERTIFICATE-----xxx-----END CERTIFICATE-----

The content of the certificate.

CertId Long 123

The ID of the certificate.

CertName String 123

The name of the certificate.

Key String null

N/A

RequestId String C7C69682-7F88-40DD-A198-10D0309E439B

The ID of the request.

Examples

Sample requests

http://dcdn.aliyuncs.com??Action=DescribeDcdnCertificateDetail
&CertName=xxx
&<Common request parameters>

Sample success responses

XML format

<DescribeDcdnCertificateDetailResponse>
	  <CertId>xxx</CertId>
	  <RequestId>C7C69682-7F88-40DD-A198-10D0309E439B</RequestId>
	  <CertName>certificate name</CertName>
	  <Cert>-----BEGIN CERTIFICATE-----xxx-----END CERTIFICATE-----</Cert>
</DescribeDcdnCertificateDetailResponse>

JSON format

{
	"CertId":"123",
	"RequestId":"C7C69682-7F88-40DD-A198-10D0309E439B",
	"CertName":"certificate name",
	"Cert":"-----BEGIN CERTIFICATE-----xxx-----END CERTIFICATE-----"
}

Error codes

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