All Products
Search
Document Center

CDN:DescribeDomainCertificateInfo

Last Updated:Jun 10, 2026

Mengkueri informasi sertifikat untuk nama domain yang dipercepat yang ditentukan.

Deskripsi operasi

Catatan

Setiap pengguna dapat memanggil operasi ini hingga 100 kali per detik.

Coba sekarang

Coba API ini di OpenAPI Explorer tanpa perlu penandatanganan manual. Panggilan yang berhasil akan secara otomatis menghasilkan contoh kode SDK sesuai dengan parameter Anda. Unduh kode tersebut dengan kredensial bawaan yang aman untuk penggunaan lokal.

Test

RAM authorization

Tabel berikut menjelaskan otorisasi yang diperlukan untuk memanggil API ini. Anda dapat menentukannya dalam kebijakan Resource Access Management (RAM). Kolom pada tabel dijelaskan sebagai berikut:

  • Action: Aksi yang dapat digunakan dalam elemen Action pada pernyataan kebijakan izin RAM untuk memberikan izin guna melakukan operasi tersebut.

  • API: API yang dapat Anda panggil untuk melakukan aksi tersebut.

  • Access level: Tingkat akses yang telah ditentukan untuk setiap API. Nilai yang valid: create, list, get, update, dan delete.

  • Resource type: Jenis resource yang mendukung otorisasi untuk melakukan aksi tersebut. Ini menunjukkan apakah aksi tersebut mendukung izin tingkat resource. Resource yang ditentukan harus kompatibel dengan aksi tersebut. Jika tidak, kebijakan tersebut tidak akan berlaku.

    • Untuk API dengan izin tingkat resource, jenis resource yang diperlukan ditandai dengan tanda bintang (*). Tentukan Nama Sumber Daya Alibaba Cloud (ARN) yang sesuai dalam elemen Resource pada kebijakan.

    • Untuk API tanpa izin tingkat resource, ditampilkan sebagai All Resources. Gunakan tanda bintang (*) dalam elemen Resource pada kebijakan.

  • Condition key: Kunci kondisi yang didefinisikan oleh layanan. Kunci ini memungkinkan kontrol granular, berlaku baik hanya untuk aksi maupun untuk aksi yang terkait dengan resource tertentu. Selain kunci kondisi spesifik layanan, Alibaba Cloud menyediakan serangkaian common condition keys yang berlaku di semua layanan yang didukung RAM.

  • Dependent action: Aksi dependen yang diperlukan untuk menjalankan aksi tersebut. Untuk menyelesaikan aksi tersebut, pengguna RAM atau role RAM harus memiliki izin untuk melakukan semua aksi dependen.

Action

Access level

Resource type

Condition key

Dependent action

cdn:DescribeDomainCertificateInfo

get

*Domain

acs:cdn:*:{#accountId}:domain/{#DomainName}

None None

Parameter permintaan

Parameter

Type

Required

Description

Example

DomainName

string

Yes

Nama domain yang dipercepat. Anda hanya dapat mengkueri satu nama domain dalam satu waktu.

example.com

Elemen respons

Element

Type

Description

Example

object

RequestId

string

ID permintaan.

5C1E43DC-9E51-4771-82C0-7D5ECEB547A1

CertInfos

object

CertInfo

array<object>

Daftar informasi sertifikat.

object

CertExpireTime

string

The expiration time of the certificate.

2018-06-03T22:03:39Z

CertLife

string

The unit of the certificate validity period.

  • months

  • years

months

Status

string

The status of the certificate.

  • success: The certificate has taken effect.

  • checking: The system is checking whether the domain name is added to Alibaba Cloud CDN.

  • cname_error: The CNAME record of the domain name does not point to Alibaba Cloud CDN.

  • top_domain_cname_error: The CNAME record of the top-level domain name does not point to Alibaba Cloud CDN.

  • domain_invalid: The domain name contains invalid characters.

  • unsupport_wildcard: Wildcard domain names are not supported.

  • applying: The certificate application is in progress.

  • get_token_timeout: The certificate application timed out.

  • check_token_timeout: The verification timed out.

  • get_cert_timeout: The request to obtain the certificate timed out.

  • failed: The certificate application failed.

success

CertUpdateTime

string

The time when the certificate was updated.

2018-06-03T22:03:39Z

CertDomainName

string

The domain name that matches the certificate.

example.com

ServerCertificateStatus

string

The status of HTTPS.

  • on: Enabled.

  • off: Disabled.

on

CertOrg

string

The name of the certificate authority (CA) that issued the certificate.

Let's Encrypt

DomainName

string

The accelerated domain name.

example.com

CertStartTime

string

The start time of the certificate validity period.

2018-06-03T22:03:39Z

CertType

string

The type of the certificate.

  • free: A free certificate.

  • cas: An Alibaba Cloud Security certificate.

  • upload: A custom certificate that you uploaded.

free

CertName

string

The certificate name.

example.com

DomainCnameStatus

string

The CNAME status of the domain name.

  • ok: The CNAME record of the domain name points to Alibaba Cloud CDN.

  • cname_error: The CNAME record of the domain name does not point to Alibaba Cloud CDN.

  • top_domain_cname_error: The CNAME record of the top-level domain name does not point to Alibaba Cloud CDN.

  • unsupport_wildcard: Wildcard domain names are not supported.

ok

ServerCertificate

string

The public key of the certificate.

asdadaxxxx

CertId

string

The certificate ID.

9002448

CertRegion

string

The region where the certificate is located.

cn-hangzhou

Contoh

Respons sukses

JSONformat

{
  "RequestId": "5C1E43DC-9E51-4771-82C0-7D5ECEB547A1",
  "CertInfos": {
    "CertInfo": [
      {
        "CertExpireTime": "2018-06-03T22:03:39Z",
        "CertLife": "months",
        "Status": "success",
        "CertUpdateTime": "2018-06-03T22:03:39Z",
        "CertDomainName": "example.com",
        "ServerCertificateStatus": "on",
        "CertOrg": "Let's Encrypt",
        "DomainName": "example.com",
        "CertStartTime": "2018-06-03T22:03:39Z",
        "CertType": "free",
        "CertName": "example.com",
        "DomainCnameStatus": "ok",
        "ServerCertificate": "asdadaxxxx",
        "CertId": "9002448",
        "CertRegion": "cn-hangzhou"
      }
    ]
  }
}

Kode kesalahan

HTTP status code

Error code

Error message

Description

500 InternalError The request processing has failed due to internal error.
403 SignatureDoesNotMatch The signature we calculated does not match the one you provided. Please refer to the API reference about authentication for details.

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.