All Products
Search
Document Center

Certificate Management Service:ListCert

Last Updated:Jun 10, 2026

API ini mengkueri sertifikat di penyimpanan sertifikat.

Deskripsi operasi

The single-user QPS limit for this API is 10. Calls exceeding this limit are throttled, which may impact your business. Plan your API calls accordingly.

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

yundun-cert:ListCert

get

*全部资源

*

None None

Parameter permintaan

Parameter

Type

Required

Description

Example

KeyWord

string

No

Kata kunci untuk pencarian fuzzy berdasarkan nama, nama domain, atau subject alternative name.

test_name

WarehouseId

integer

No

ID warehouse. Anda dapat memperoleh ID ini dengan memanggil API ListCertWarehouse.

12

Status

string

No

Status sertifikat. Nilai valid:

  • ISSUE: diterbitkan

  • REVOKE: dicabut.

ISSUE

SourceType

string

No

Sumber sertifikat. Nilai valid:

  • upload: sertifikat yang diunggah

  • aliyun: sertifikat Alibaba Cloud.

aliyun

CertType

string

No

Tipe sertifikat. Nilai valid:

  • CA: Sertifikat CA

  • CERT: sertifikat yang diterbitkan.

CERT

CurrentPage

integer

No

Nomor halaman yang akan dikembalikan. Nilai default adalah 1.

1

ShowSize

integer

No

Jumlah entri per halaman. Nilai default adalah 50.

50

Identifiers

string

No

Daftar identifier sertifikat yang dipisahkan koma.

aaa,bbb

Elemen respons

Element

Type

Description

Example

object

A container for the response data.

ShowSize

integer

The page size. Default value: 50.

50

CurrentPage

integer

The current page number. Default value: 1.

1

TotalCount

integer

The total number of entries.

10

CertList

array<object>

The list of certificates.

object

The details of a certificate.

WhId

integer

The warehouse ID.

2

Identifier

string

The unique identifier of the certificate.

14dcc8afc7578e

WhInstanceId

string

The warehouse instance ID.

test_whInstanceId

Status

string

The status of the certificate. Valid values:

  • ISSUE: The certificate is issued.

  • REVOKE: The certificate is revoked.

ISSUE

SourceType

string

The source of the certificate. Valid values:

  • upload: The certificate is uploaded.

  • aliyun: The certificate is from Alibaba Cloud.

aliyun

CertType

string

The type of the certificate. Valid values:

  • CA: a Certificate Authority (CA) certificate

  • CERT: an issued certificate

CERT

CommonName

string

The common name of the certificate. This is typically the primary domain name associated with the certificate.

aliyun.alibaba.com

BeforeDate

integer

The start date of the certificate's validity period. This value is a UNIX timestamp in milliseconds.

1665819958000

Issuer

string

The issuer of the certificate.

mySSL

AfterDate

integer

The expiration date of the certificate. This value is a UNIX timestamp in milliseconds.

1634283958000

ExistPrivateKey

boolean

Indicates whether a private key is available for the certificate. Valid values:

  • true

  • false

false

Sans

string

The Subject Alternative Names (SANs) associated with the certificate. Multiple domain names are separated by commas (,).

*.alibaba.com,aliyun.alibaba.com

SerialNo

string

The serial number of the certificate. This parameter is returned only if the OrderType request parameter is set to CERT or UPLOAD.

Algorithm

string

The encryption algorithm of the certificate. Valid values:

  • RSA: the RSA algorithm

  • ECC: the ECC algorithm

  • SM2: the SM2 algorithm

SignAlgorithm

string

The signature algorithm of the certificate.

RequestId

string

The ID of the request.

15C66C7B-671A-4297-9187-2C4477247A74

Contoh

Respons sukses

JSONformat

{
  "ShowSize": 50,
  "CurrentPage": 1,
  "TotalCount": 10,
  "CertList": [
    {
      "WhId": 2,
      "Identifier": "14dcc8afc7578e",
      "WhInstanceId": "test_whInstanceId",
      "Status": "ISSUE",
      "SourceType": "aliyun",
      "CertType": "CERT",
      "CommonName": "aliyun.alibaba.com",
      "BeforeDate": 1665819958000,
      "Issuer": "mySSL",
      "AfterDate": 1634283958000,
      "ExistPrivateKey": false,
      "Sans": "*.alibaba.com,aliyun.alibaba.com",
      "SerialNo": "",
      "Algorithm": "",
      "SignAlgorithm": ""
    }
  ],
  "RequestId": "15C66C7B-671A-4297-9187-2C4477247A74"
}

Kode kesalahan

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.