查询域名粒度回源客户端证书列表。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
esa:ListOriginClientCertificates |
list |
*Site
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| SiteId |
integer |
是 |
站点 ID,可通过调用 ListSites 接口获取。 |
123456789**** |
| PageNumber |
integer |
否 |
页码。默认值:1。 |
1 |
| PageSize |
integer |
否 |
页大小。 |
20 |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
Schema of Response |
||
| RequestId |
string |
请求 ID。 |
3558df77-8a7a-4060-a900-2d7949403836 |
| TotalCount |
integer |
总条数。 |
20 |
| PageNumber |
integer |
页码。默认值:1。 |
1 |
| PageSize |
integer |
每页数量。 |
10 |
| SiteId |
integer |
站点 ID。 |
123456789**** |
| SiteName |
string |
站点名称。 |
example.com |
| Result |
array<object> |
证书信息列表。 |
|
|
object |
证书信息。 |
||
| Id |
string |
证书 ID。 |
babaabcd**** |
| Name |
string |
证书名称。 |
yourCertName |
| Status |
string |
证书状态。 |
OK |
| Type |
string |
证书类型。 |
upload |
| CommonName |
string |
证书通用名称。 |
www.example.com |
| NotBefore |
string |
证书有效期开始时间。 |
2023-03-31 02:08:00 |
| NotAfter |
string |
证书有效期截止时间。 |
2024-03-31 02:08:00 |
| Issuer |
string |
证书颁发机构。 |
DigiCert |
| SAN |
string |
证书主题备用名。 |
www.example.com,*.example.com |
| SignatureAlgorithm |
string |
证书签名算法。 |
SHA256-RSA |
| PubkeyAlgorithm |
string |
证书公钥算法。 |
RSA |
| CreateTime |
string |
创建时间。 |
2024-06-24 07:48:51 |
| UpdateTime |
string |
更新时间。 |
2024-07-20 06:18:42 |
| SerialNumber |
string |
证书序列号。 |
babaded901474b9693acf530e0fb1d** |
| FingerprintSha256 |
string |
证书 Sha256 指纹。 |
1dc5fc9af4eead2570c70d94b416130baeb6d4429b51fd3557379588456a**** |
| Hostnames |
array |
绑定的域名列表。 |
|
|
string |
域名。 |
www.example.com |
示例
正常返回示例
JSON格式
{
"RequestId": "3558df77-8a7a-4060-a900-2d7949403836",
"TotalCount": 20,
"PageNumber": 1,
"PageSize": 10,
"SiteId": 0,
"SiteName": "example.com\n",
"Result": [
{
"Id": "babaabcd****",
"Name": "yourCertName",
"Status": "OK",
"Type": "upload",
"CommonName": "www.example.com ",
"NotBefore": "2023-03-31 02:08:00",
"NotAfter": "2024-03-31 02:08:00",
"Issuer": "DigiCert",
"SAN": "www.example.com,*.example.com",
"SignatureAlgorithm": "SHA256-RSA",
"PubkeyAlgorithm": "RSA",
"CreateTime": "2024-06-24 07:48:51",
"UpdateTime": "2024-07-20 06:18:42",
"SerialNumber": "babaded901474b9693acf530e0fb1d**",
"FingerprintSha256": "1dc5fc9af4eead2570c70d94b416130baeb6d4429b51fd3557379588456a****",
"Hostnames": [
"www.example.com"
]
}
]
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | InvalidParameter.SiteId | Failed to query the website based on the SiteID you specified. Check parameter SiteId and try again. | SiteId参数无效,无法通过指定的SiteId获取对应的站点名称,请确认SiteId后重试。 |
| 400 | MissingSiteId | Required parameter SiteId missing. Specify SiteId and try again. | 缺少必填参数SiteId,请指定SiteId参数后重试。 |
| 400 | InternalException | Failed to call the service. Try again later or contact technical support. | 调用服务失败,请稍后重试或联系客服咨询详情。 |
| 403 | Unauthorized.InvalidTime | The specified authentication time is invalid. | 您输入的鉴权时间参数无效,请检查参数值后重试。 |
| 403 | Unauthorized.InvalidToken | Token authentication failed. | 您输入的token无效,请检查并输入正确的token后进行重试。 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。