Mengambil nama domain yang dipercepat berdasarkan informasi sertifikat.
Deskripsi operasi
Batas laju per pengguna: 100 panggilan per detik.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cdn:DescribeCdnDomainByCertificate |
get |
*Semua sumber daya.
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| SSLPub |
string |
Yes |
Kunci publik sertifikat. Kunci harus dienkode Base64 sebelum dienkode URL menggunakan encodeURIComponent. Format PEM didukung. |
****** |
| SSLStatus |
boolean |
No |
Apakah daftar nama domain yang dikembalikan hanya menyertakan nama domain dengan HTTPS diaktifkan atau dinonaktifkan. Nilai valid:
|
true |
| Exact |
boolean |
No |
Apakah daftar nama domain yang dikembalikan cocok persis dengan sertifikat. Nilai valid:
|
true |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
ASAF2FDS-12SADSA-DDSAE3D-DSADCD4C-CDADS2D |
| CertInfos |
object |
||
| CertInfo |
array<object> |
Daftar informasi sertifikat. |
|
|
object |
|||
| CertStartTime |
string |
Waktu mulai sertifikat. Format waktu adalah MMM DD HH:mm:ss YYYY GMT. |
Nov 29 23:59:59 2017 GMT |
| CertExpireTime |
string |
Waktu kedaluwarsa sertifikat. Format waktu adalah MMM DD HH:mm:ss YYYY GMT. |
Nov 29 00:00:00 2016 GMT |
| CertCaIsLegacy |
string |
Status tidak digunakan lagi CA sertifikat. Nilai valid:
|
yes |
| CertSubjectCommonName |
string |
Nama Pemilik sertifikat. |
owner |
| CertType |
string |
Tipe sertifikat. Nilai valid: RSA, DSA, dan ECDSA. |
RSA |
| DomainNames |
string |
Nama domain yang dicocokkan oleh sertifikat, yang ditentukan di bidang DNS. Beberapa nama domain dipisahkan dengan koma (,). |
*.example.com,aliyundoc.com |
| CertExpired |
string |
Status kedaluwarsa sertifikat. Nilai valid:
|
yes |
| Issuer |
string |
Penerbit sertifikat. |
C=US, O=Symantec Corporation, OU=Symantec Trust Network, OU=Domain Validated SSL, CN=Symantec Basic DV SSL CA - G1 |
| DomainList |
string |
Daftar nama domain yang dicocokkan dengan sertifikat. Jika nilai ini tidak kosong, beberapa nama domain dipisahkan dengan koma (,). |
example.com,aliyundoc.com |
Contoh
Respons sukses
JSONformat
{
"RequestId": "ASAF2FDS-12SADSA-DDSAE3D-DSADCD4C-CDADS2D",
"CertInfos": {
"CertInfo": [
{
"CertStartTime": "Nov 29 23:59:59 2017 GMT",
"CertExpireTime": "Nov 29 00:00:00 2016 GMT",
"CertCaIsLegacy": "yes",
"CertSubjectCommonName": "owner",
"CertType": "RSA",
"DomainNames": "*.example.com,aliyundoc.com",
"CertExpired": "yes",
"Issuer": "C=US, O=Symantec Corporation, OU=Symantec Trust Network, OU=Domain Validated SSL, CN=Symantec Basic DV SSL CA - G1",
"DomainList": "example.com,aliyundoc.com"
}
]
}
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Certificate.FormatError | The format of the certificate is invalid. | Format sertifikat tidak valid. |
| 400 | SSLPub.MissingParameter | The Cert parameter is required. | |
| 400 | Decode.Error | Error decoding the SSLPub certificate. | |
| 400 | Certificate.DecodeError | An error occurred while decoding the certificate. | Gagal mengurai sertifikat. |
| 500 | InternalError | The request processing has failed due to backend service exception. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.