调用DescribeDcdnCertificateList获取证书列表信息。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
请求参数
名称 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | DescribeDcdnCertificateList |
操作接口名,系统规定参数。取值:DescribeDcdnCertificateList。 |
DomainName | String | 否 | example.com |
加速域名,多个域名用逗号(,)分隔。 默认查询所有加速域名。 |
返回数据
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
CertificateListModel | Struct |
CertificateListModel类型。 |
|
CertList | Array |
证书列表信息。 |
|
Cert | |||
CertId | Long | 123 |
证书ID。 |
CertName | String | 证书2 |
证书名称。 |
Common | String | test.com |
证书中的CN属性,一般是一个域名。 |
Fingerprint | String | 0151xxxx |
证书指纹。 |
Issuer | String | DigiCert |
证书发行商。 |
LastTime | Long | 1548065550 |
时间戳。 |
Count | Integer | 123 |
证书个数。 |
RequestId | String | FC0E34AC-0239-44A7-AB0E-800DE522C8DA |
请求ID。 |
示例
请求示例
http://dcdn.aliyuncs.com?Action=DescribeDcdnCertificateList
&DomainName=example.com
&<公共请求参数>
正常返回示例
XML
格式
<DescribeDcdnCertificateListResponse>
<CertificateListModel>
<Count>1</Count>
<CertList>
<Cert>
<CertId>123</CertId>
<Issuer>DigiCert Inc</Issuer>
<LastTime>1548065550</LastTime>
<CertName>证书2</CertName>
<Common>test.com</Common>
<Fingerprint>0151xxxx</Fingerprint>
</Cert>
</CertList>
</CertificateListModel>
<RequestId>3D252697-9828-4531-AC00-F6CEFB61252D</RequestId>
</DescribeDcdnCertificateListResponse>
JSON
格式
{
"CertificateListModel": {
"Count": 1,
"CertList": {
"Cert": [
{
"CertId": 123,
"Issuer": "DigiCert Inc",
"LastTime": 1548065550,
"CertName": "证书2",
"Common": "test.com",
"Fingerprint": "0151xxxx"
}
]
}
},
"RequestId": "3D252697-9828-4531-AC00-F6CEFB61252D"
}
错误码
访问错误中心查看更多错误码。