Menanyakan informasi sertifikat tertentu berdasarkan ID sertifikatnya.
Deskripsi operasi
-
Setiap akun dapat memanggil operasi ini hingga 100 kali per detik.
-
Jika sertifikat dikaitkan dengan Nama domain tetapi belum diaktifkan, hasil operasi ini akan menunjukkan bahwa sertifikat tersebut tidak ada.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cdn:DescribeCertificateInfoByID |
get |
*全部资源
|
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 |
Jenis 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.