Queries the details of 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 DescribeLiveCertificateDetail

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

CertName String Yes Cert-****

The name of the certificate.

Response parameters

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

The content of the certificate.

CertId Long 23451111

The ID of the certificate.

CertName String cert-****

The name of the certificate.

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

The ID of the request.

Examples

Sample requests

http(s)://live.aliyuncs.com? Action=DescribeLiveCertificateDetail
&CertName=Cert-****
&<Common request parameters>

Sample success responses

XML format

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

JSON format

{
    "CertId": "23451111", 
    "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.