Queries the details about a ShangMi (SM) certificate.

Note You can call this operation up to 30 times per second.

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 DescribeDcdnSMCertificateDetail

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

CertIdentifier String Yes 648****-cn-hangzhou

The ID of the certificate.

Response parameters

Parameter Type Example Description
CertExpireTime String 2022-08-31T09:42:28Z

The time when the certificate expires. The time is displayed in UTC.

CertIdentifier String 648****-cn-hangzhou

The ID of the certificate.

CertName String yourCertName

The name of the certificate.

CertOrg String DigiCert Inc

The certificate authority (CA) that issued the certificate.

CommonName String example.com

The top-level domain name.

EncryptCertificate String --BEGIN CERTIFICATE-----***-----END CERTIFICATE--

The content of the encryption certificate.

RequestId String A7C69682-7F88-40DD-A198-10D0309E439D

The ID of the request.

Sans String ***.example.com

The subdomain name.

SignCertificate String --BEGIN CERTIFICATE-----***-----END CERTIFICATE--

The content of the signature certificate.

Examples

Sample requests

http(s)://dcdn.aliyuncs.com?Action=DescribeDcdnSMCertificateDetail
&CertIdentifier=648****-cn-hangzhou
&<Common request parameters>

Sample success responses

XML format

<DescribeDcdnSMCertiicateDetailResponse>
  <SignCertificate>--BEGIN CERTIFICATE-----***-----END CERTIFICATE--</SignCertificate>
  <EncryptCertificate>--BEGIN CERTIFICATE-----***-----END CERTIFICATE--</EncryptCertificate>
  <CertName>yourCerName</CertName>
  <CertIdentifier>648****-cn-hangzhou</CertIdentifier>
  <CommonName>example.com</CommonName>
  <Sans>***.example.com</Sans>
  <CertOrg>DigiCert Inc</CertOrg>
  <CertExpireTime>2022-08-31T09:42:28Z</CertExpireTime>
  <RequestId>A7C69682-7F88-40DD-A198-10D0309E439D</RequestId>
</DescribeDcdnSMCertiicateDetailResponse>

JSON format

{
    "SignCertificate": "--BEGIN CERTIFICATE-----***-----END CERTIFICATE--",
    "EncryptCertificate": "--BEGIN CERTIFICATE-----***-----END CERTIFICATE--",
    "CertName": "yourCerName",
    "CertIdentifier": "648****-cn-hangzhou",
    "CommonName": "example.com",
    "Sans": "***.example.com",
    "CertOrg": "DigiCert Inc",
    "CertExpireTime": "2022-08-31T09:42:28Z",
    "RequestId": "A7C69682-7F88-40DD-A198-10D0309E439D"
}

Error codes

HttpCode Error code Error message Description
400 InvalidCertIdentifier.ValueNotSupported The specified value of parameter CertIdentifier is not valid. The error message returned because the value that is specified for the CertIdentifier parameter is invalid.

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