Mengambil informasi Sertifikat tertentu berdasarkan ID Sertifikat.
Deskripsi operasi
Anda dapat memanggil operasi ini hingga 100 kali per detik per akun.
Jika sebuah Sertifikat dikaitkan dengan Nama domain tetapi Sertifikat tersebut tidak diaktifkan, hasil operasi ini menunjukkan bahwa Sertifikat tersebut tidak ada.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cdn:DescribeCertificateInfoByID |
get |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| CertId |
string |
Yes |
ID Sertifikat. Anda hanya dapat menanyakan satu Sertifikat dalam setiap panggilan. |
1644xx |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
5C1E43DC-9E51-4771-82C0-7D5ECEB547A1 |
| CertInfos |
object |
||
| CertInfo |
array<object> |
Informasi mengenai Sertifikat. |
|
|
object |
|||
| CertExpireTime |
string |
Waktu kedaluwarsa Sertifikat. |
2098-02-08 08:02:07 +0000 UTC |
| CreateTime |
string |
Waktu saat Sertifikat mulai berlaku. |
2015-12-21 08:02:07 +0000 UTC |
| CertType |
string |
Tipe Sertifikat.
|
cas |
| CertName |
string |
Nama Sertifikat. |
example_cert |
| CertId |
string |
ID Sertifikat. |
1644xx |
| DomainList |
string |
Nama domain yang menggunakan Sertifikat tersebut. |
["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.