Obtient les informations de certificat d'un nom de domaine accéléré spécifié.
Description de l'opération
Actuellement, la seule région de service prise en charge est Chine (Shanghai).
Testez maintenant
Testez cette API dans OpenAPI Explorer, sans signature manuelle. Les appels réussis génèrent automatiquement du code SDK correspondant à vos paramètres. Téléchargez-le avec une sécurité intégrée des identifiants pour une utilisation locale. Testez cette API dans OpenAPI Explorer, sans signature manuelle. Les appels réussis génèrent automatiquement du code SDK correspondant à vos paramètres. Téléchargez-le avec une sécurité intégrée des identifiants pour une utilisation locale.
Test
Autorisation RAM
|
vod:DescribeVodDomainCertificateInfo |
get |
*All Resource
|
Aucune | Aucune |
Paramètres de requête
|
Paramètre |
Type |
Requis |
Description |
Exemple |
| DomainName |
string |
Oui |
Le nom de domaine accéléré pour ApsaraVideo VOD. |
example.com |
| HeraApiAutoVersion |
string |
Non |
Éléments de réponse
|
Élément |
Type |
Description |
Exemple |
|
object |
Les paramètres de réponse. |
||
| RequestId |
string |
L'identifiant de la requête. |
5C1E43DC-9E51-4771-****-7D5ECEB547A1 |
| CertInfos |
object |
||
| CertInfo |
array<object> |
Les informations du certificat. |
|
|
object |
|||
| CertExpireTime |
string |
The certificate expiration time. The time is in the yyyy-MM-ddTHH:mm:ssZ format (UTC). |
2018-06-03T13:03:39Z |
| CertLife |
string |
The certificate validity period. Unit: months or years. |
3 months |
| Status |
string |
The certificate status. Valid values:
Remarque
This field is returned only when |
success |
| CertUpdateTime |
string |
The certificate update time. |
2023-04-26T20:23:38Z |
| CertDomainName |
string |
The domain name that matches the certificate. |
example.com |
| ServerCertificateStatus |
string |
The HTTPS certificate enabling status. Valid values:
|
on |
| CertOrg |
string |
The certificate organization. |
Let's Encrypt |
| DomainName |
string |
The accelerated domain name. |
example.com |
| CertStartTime |
string |
The certificate start time. |
2023-04-26T20:23:38Z |
| CertType |
string |
The certificate type. Valid values:
|
free |
| CertName |
string |
The certificate name. |
cert-example.com |
| DomainCnameStatus |
string |
The CNAME status of the domain name. Valid values:
|
ok |
| ServerCertificate |
string |
The certificate public key. |
**** |
| CertId |
string |
The certificate ID. |
13227737-cn-hangzhou |
| CertRegion |
string |
The region where the certificate is used. |
cn-hangzhou |
Exemples
JSON format
{
"RequestId": "5C1E43DC-9E51-4771-****-7D5ECEB547A1",
"CertInfos": {
"CertInfo": [
{
"CertExpireTime": "2018-06-03T13:03:39Z",
"CertLife": "3 months",
"Status": "success",
"CertUpdateTime": "2023-04-26T20:23:38Z",
"CertDomainName": "example.com",
"ServerCertificateStatus": "on",
"CertOrg": "Let's Encrypt",
"DomainName": "example.com",
"CertStartTime": "2023-04-26T20:23:38Z",
"CertType": "free",
"CertName": "cert-example.com",
"DomainCnameStatus": "ok",
"ServerCertificate": "****",
"CertId": "13227737-cn-hangzhou",
"CertRegion": "cn-hangzhou"
}
]
}
}
Codes d'erreur
Consultez Codes d'erreur pour la liste complète.
Notes de version
Consultez Notes de version pour la liste complète.