All Products
Search
Document Center

ApsaraVideo Live:DescribeLiveDomainCertificateInfo

Last Updated:Jun 10, 2026

Mengambil informasi sertifikat untuk nama domain tertentu dalam format tertentu.

Deskripsi operasi

You must specify a domain name whose certificate information you want to query.

QPS limit

You can call this operation up to 100 times per second per account. Requests that exceed this limit are dropped and you may experience service interruptions.

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

live:DescribeLiveDomainCertificateInfo

get

*全部资源

*

None None

Parameter permintaan

Parameter

Type

Required

Description

Example

RegionId

string

No

ID wilayah.

cn-shanghai

DomainName

string

Yes

Domain streaming atau domain ingest.

example.com

Elemen respons

Element

Type

Description

Example

object

RequestId

string

The request ID.

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

CertInfos

object

CertInfo

array<object>

The certificate information.

object

Status

string

The status of the free certificate that is used for testing. Valid values:

  • success: The certificate is effective.

  • checking: The system is checking whether the domain name is mapped to the CNAME that is assigned by ApsaraVideo Live.

  • cname_error: The domain name is not mapped to the CNAME that is assigned by ApsaraVideo Live.

  • domain_invalid: The domain name contains invalid characters.

  • unsupport_wildcard: The domain name is a wildcard domain name, which is not supported.

  • applying: The certificate is in the application progress.

  • failed: The application for the certificate failed.

Catatan

The Status parameter is valid only if the certificate is a free certificate for testing. Otherwise, an empty value is returned.

success

CertLife

string

The validity period of the certificate.

3 months

CertExpireTime

string

The expiration time of the certificate. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.

2018-06-03T22:03:39Z

SSLPub

string

The public key of the certificate.

yourSSLPub

SSLProtocol

string

Indicates whether HTTPS is enabled. Valid values:

  • on: Enabled.

  • off: Disabled.

on

CertType

string

The type of the certificate. Valid values:

  • free: a free certificate (for testing)

  • cas: a certificate purchased from Certificate Management Service

  • upload: a custom certificate that you uploaded

cas

CertDomainName

string

The streaming domain or ingest domain that matches the certificate.

example.com

CertName

string

The certificate name.

Cert-****

CertOrg

string

The certificate authority (CA).

Let's Encrypt

DomainName

string

The streaming domain or ingest domain.

example.com

Contoh

Respons sukses

JSONformat

{
  "RequestId": "5C1E43DC-9E51-4771-82C0-7D5ECEB547A1",
  "CertInfos": {
    "CertInfo": [
      {
        "Status": "success",
        "CertLife": "3 months",
        "CertExpireTime": "2018-06-03T22:03:39Z",
        "SSLPub": "yourSSLPub",
        "SSLProtocol": "on",
        "CertType": "cas",
        "CertDomainName": "example.com",
        "CertName": "Cert-****",
        "CertOrg": "Let's Encrypt",
        "DomainName": "example.com"
      }
    ]
  }
}

Kode kesalahan

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.