Mengkueri detail sertifikat tertentu berdasarkan ID sertifikat.
Deskripsi operasi
Batas laju per pengguna: 100 panggilan per detik.
Jika nama domain terikat pada sertifikat tetapi sertifikat tidak diaktifkan, memanggil operasi ini akan mengembalikan Paket yang menunjukkan bahwa sertifikat tidak ada.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cdn:DescribeCertificateInfoByID |
get |
*Semua sumber daya.
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| CertId |
string |
Yes |
ID sertifikat. Hanya satu ID sertifikat yang didukung. |
1644xx |
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 |
Pengatur waktu kedaluwarsa sertifikat. Pengatur waktu dalam format YYYY-MM-DD HH:mm:ss +0000 UTC. |
2098-02-08 08:02:07 +0000 UTC |
| CreateTime |
string |
Pengatur waktu mulai sertifikat. Pengatur waktu dalam format YYYY-MM-DD HH:mm:ss +0000 UTC. |
2015-12-21 08:02:07 +0000 UTC |
| CertType |
string |
Tipe sertifikat. Nilai valid:
|
cas |
| CertName |
string |
Nama sertifikat. |
example_cert |
| CertId |
string |
ID sertifikat. |
1644xx |
| DomainList |
string |
Daftar nama domain yang menggunakan sertifikat ini. |
["example.com"] |
| HttpsCrt |
string |
Konten sertifikat. |
-----BEGIN CERTIFICATE-----\nxxx-----END CERTIFICATE-----\n |
Contoh
Respons sukses
JSONformat
{
"RequestId": "5C1E43DC-9E51-4771-82C0-7D5ECEB547A1",
"CertInfos": {
"CertInfo": [
{
"CertExpireTime": "2098-02-08 08:02:07 +0000 UTC",
"CreateTime": "2015-12-21 08:02:07 +0000 UTC",
"CertType": "cas",
"CertName": "example_cert",
"CertId": "1644xx",
"DomainList": "[\"example.com\"]",
"HttpsCrt": "-----BEGIN CERTIFICATE-----\\nxxx-----END CERTIFICATE-----\\n"
}
]
}
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | CertNotExisted | The Cert doesn't exist. | |
| 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.