调用DescribeDcdnHttpsDomainList获取用户所有证书信息。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
请求参数
名称 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | DescribeDcdnHttpsDomainList |
操作接口名,系统规定参数:DescribeDcdnHttpsDomainList。 |
PageNumber | Integer | 否 | 1 |
页数。取值范围:1~100000。 |
PageSize | Integer | 否 | 2 |
分页大小。取值:1~500,默认为20。 |
Keyword | String | 否 | cert |
搜索关键字。 |
返回数据
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
CertInfos | Array of CertInfo |
证书信息。 |
|
CertInfo | |||
CertCommonName | String | *.xxx.com |
证书主域名。 |
CertExpireTime | String | 2018-12-26 14:45:09 |
证书过期时间。 |
CertName | String | cert-xxx |
证书名称。 |
CertStartTime | String | 2018-11-26 14:45:09 |
证书开始时间。 |
CertStatus | String | mismatch |
证书状态。取值:
|
CertType | String | upload |
证书类型。取值:
|
CertUpdateTime | String | 2019-01-08 18:33:16 |
证书更新时间。 |
DomainName | String | **xxx.com |
加速域名。 |
RequestId | String | F5E8DF64-7175-4186-9B06-F002C0BBD0C5 |
请求ID。 |
TotalCount | Integer | 16 |
总条数。 |
示例
请求示例
http(s)://dcdn.aliyuncs.com/?Action=DescribeDcdnHttpsDomainList
&<公共请求参数>
正常返回示例
XML
格式
<DescribeDcdnHttpsDomainListResponse>
<CertInfos>
<CertInfo>
<CertUpdateTime>2019-01-08 18:33:16</CertUpdateTime>
<CertType>upload</CertType>
<CertName>cert-xxx</CertName>
<DomainName>**xxx.com</DomainName>
<CertStatus>mismatch</CertStatus>
<CertExpireTime>2018-12-26 14:45:09</CertExpireTime>
<CertStartTime>2018-11-26 14:45:09</CertStartTime>
<CertCommonName>*.xxx.com</CertCommonName>
</CertInfo>
</CertInfos>
<TotalCount>16</TotalCount>
<RequestId>F5E8DF64-7175-4186-9B06-F002C0BBD0C5</RequestId>
</DescribeDcdnHttpsDomainListResponse>
JSON
格式
{
"CertInfos": {
"CertInfo": [
{
"CertUpdateTime": "2019-01-08 18:33:16",
"CertType": "upload",
"CertName": "cert-xxx",
"DomainName": "**xxx.com",
"CertStatus": "mismatch",
"CertExpireTime": "2018-12-26 14:45:09",
"CertStartTime": "2018-11-26 14:45:09",
"CertCommonName": "*.xxx.com"
}
]
},
"TotalCount": 16,
"RequestId": "F5E8DF64-7175-4186-9B06-F002C0BBD0C5"
}
错误码
HttpCode | 错误码 | 错误信息 | 描述 |
---|---|---|---|
400 | NoHttpsDomain | Your account does not have any HTTPS domain. | 你的账号没有https域名。 |
访问错误中心查看更多错误码。
在文档使用中是否遇到以下问题
更多建议
匿名提交