All Products
Search
Document Center

CDN:DescribeCdnSMCertificateDetail

Last Updated:Mar 28, 2024

Queries the details about a ShangMi (SM) certificate.

Operation description

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

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
CertIdentifierstringYes

The ID of the certificate.

648****-cn-hangzhou

Response parameters

ParameterTypeDescriptionExample
object
CertExpireTimestring

The expiration time of the certificate. The time is displayed in UTC.

2022-08-31T09:42:28Z
CertIdentifierstring

The ID of the certificate.

648****-cn-hangzhou
RequestIdstring

The ID of the request.

A7C69682-7F88-40DD-A198-10D0309E439D
CommonNamestring

The common name.

example.com
CertNamestring

The name of the certificate.

yourCertName
Sansstring

The subdomain name.

***.example.com
SignCertificatestring

The content of the signature certificate.

--BEGIN CERTIFICATE-----***-----END CERTIFICATE--
CertOrgstring

The certificate authority (CA) that issued the certificate.

DigiCert Inc
EncryptCertificatestring

The content of the encryption certificate.

-BEGIN CERTIFICATE-----***-----END CERTIFICATE--

Examples

Sample success responses

JSONformat

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

Error codes

HTTP status codeError codeError message
400InvalidCertIdentifier.ValueNotSupportedThe specified value of parameter CertIdentifier is not valid.

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