调用DescribeLiveCertificateList查询证书列表信息。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
请求参数
名称 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | DescribeLiveCertificateList |
系统规定参数 。取值:DescribeLiveCertificateList。 |
DomainName | String | 否 | live.yourdomain.com |
您的域名。 |
返回数据
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
CertificateListModel | Struct |
数据类型。 |
|
CertList | Array of Cert |
证书列表信息。 |
|
Cert | |||
CertId | Long | 123456 |
证书ID。 |
CertName | String | Cert-**** |
证书名称。 |
Common | String | test |
证书的CN属性。 |
Fingerprint | String | **** |
证书指纹。 |
Issuer | String | ***** |
证书发行商。 |
LastTime | Long | 1512388659 |
证书签发时间。单位:秒。 |
Count | Integer | 2 |
证书个数。 |
RequestId | String | 16A96B9A-F203-4EC5-8E43-CB92E68F4CD8 |
请求ID。 |
示例
请求示例
http(s)://live.aliyuncs.com/?Action=DescribeLiveCertificateList
&<公共请求参数>
正常返回示例
XML
格式
<DescribeLiveCertificateListResponse>
<CertificateListModel>
<Count>2</Count>
<CertList>
<Cert>
<CertName>证书1</CertName>
<Issuer>****</Issuer>
<LastTime>****</LastTime>
<CertId>****</CertId>
<Common>test</Common>
<Fingerprint>****</Fingerprint>
</Cert>
<Cert>
<CertName>证书2</CertName>
<Issuer>****</Issuer>
<LastTime>1512388659</LastTime>
<CertId>****</CertId>
<Common>test</Common>
<Fingerprint>****</Fingerprint>
</Cert>
</CertList>
</CertificateListModel>
<RequestId>FC0E34AC-0239-44A7-AB0E-800DE522C8DA</RequestId>
</DescribeLiveCertificateListResponse>
JSON
格式
{
"CertificateListModel": {
"Count": 2,
"CertList": {
"Cert": [
{
"CertName": "证书1",
"Issuer": "****",
"LastTime": 1512388610,
"CertId": "****",
"Common": "test",
"Fingerprint": "****"
},
{
"CertName": "证书2",
"Issuer": "****",
"LastTime": 1512388659,
"CertId": "****",
"Common": "test",
"Fingerprint": "****"
}
]
}
},
"RequestId": "FC0E34AC-0239-44A7-AB0E-800DE522C8DA"
}
错误码
访问错误中心查看更多错误码。