调用DescribeDomainCertificateInfo查询指定加速域名证书信息。
接口说明
单用户调用频率:100 次/秒。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
cdn:DescribeDomainCertificateInfo |
get |
*Domain
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| DomainName |
string |
是 |
加速域名,仅支持单个查询。 |
example.com |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
|||
| RequestId |
string |
请求 ID。 |
5C1E43DC-9E51-4771-82C0-7D5ECEB547A1 |
| CertInfos |
object |
||
| CertInfo |
array<object> |
证书信息列表。 |
|
|
object |
|||
| CertExpireTime |
string |
证书过期时间。 |
2018-06-03T22:03:39Z |
| CertLife |
string |
证书时长单位。
|
months |
| Status |
string |
证书状态。
|
success |
| CertUpdateTime |
string |
证书更新时间。 |
2018-06-03T22:03:39Z |
| CertDomainName |
string |
证书匹配的域名。 |
example.com |
| ServerCertificateStatus |
string |
https 开启状态。
|
on |
| CertOrg |
string |
该证书签发的 CA 名称。 |
Let's Encrypt |
| DomainName |
string |
加速域名。 |
example.com |
| CertStartTime |
string |
证书开始时间。 |
2018-06-03T22:03:39Z |
| CertType |
string |
证书类型。
|
free |
| CertName |
string |
证书名称。 |
example.com |
| DomainCnameStatus |
string |
域名 CNAME 状态。
|
ok |
| ServerCertificate |
string |
证书公钥。 |
asdadaxxxx |
| CertId |
string |
证书 ID。 |
9002448 |
| CertRegion |
string |
证书区域。 |
cn-hangzhou |
示例
正常返回示例
JSON格式
{
"RequestId": "5C1E43DC-9E51-4771-82C0-7D5ECEB547A1",
"CertInfos": {
"CertInfo": [
{
"CertExpireTime": "2018-06-03T22:03:39Z",
"CertLife": "months",
"Status": "success",
"CertUpdateTime": "2018-06-03T22:03:39Z",
"CertDomainName": "example.com",
"ServerCertificateStatus": "on",
"CertOrg": "Let's Encrypt",
"DomainName": "example.com",
"CertStartTime": "2018-06-03T22:03:39Z",
"CertType": "free",
"CertName": "example.com",
"DomainCnameStatus": "ok",
"ServerCertificate": "asdadaxxxx",
"CertId": "9002448",
"CertRegion": "cn-hangzhou"
}
]
}
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 500 | InternalError | The request processing has failed due to internal error. | |
| 403 | SignatureDoesNotMatch | The signature we calculated does not match the one you provided. Please refer to the API reference about authentication for details. |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。