证书管理接口¶
GET 查询证书配置列表¶
GET /prod-api/cdn/layer7/ssl/describeDomainSSL
Body 请求参数
请求参数¶
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
beginTimeDate | query | string | 否 | none |
endTimeDate | query | string | 否 | none |
pageNum | query | integer | 是 | 当前页数 |
pageSize | query | integer | 是 | 每页显示条目个数 |
search | query | string | 否 | 搜索值 |
searchHeader | query | integer | 否 | none |
Authorization | header | string | 否 | none |
body | body | object | 否 | none |
返回示例
200 Response
{
"total": 5,
"rows": [
{
"sslId": 262,
"domainId": 215,
"domainName": "waf2.demon.com",
"source": 2,
"endTime": "2025-07-01T19:41:53.000+08:00",
"status": "normal",
"port": 0,
"protocol": 1,
"certificateTaskStatus": null
},
{
"sslId": 253,
"domainId": 231,
"domainName": "lw1test.com",
"source": 2,
"endTime": null,
"status": "issuing",
"port": 0,
"protocol": 0,
"certificateTaskStatus": "failed"
},
{
"sslId": 251,
"domainId": 213,
"domainName": "waf.demo.com",
"source": 0,
"endTime": "2024-10-14T07:59:59.000+08:00",
"status": "normal",
"port": 0,
"protocol": 0,
"certificateTaskStatus": null
}
],
"code": 200,
"msg": "成功"
}
401 Response
返回结果¶
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
401 | Unauthorized | none | Inline |
403 | Forbidden | none | Inline |
404 | Not Found | none | Inline |
返回数据结构¶
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» total | integer | true | none | none | |
» rows | [object] | true | none | none | |
»» sslId | integer | true | none | 证书ID | none |
»» domainId | integer | true | none | 域名ID | none |
»» domainName | string | true | none | 域名 | none |
»» source | integer | true | none | 证书来源 | source:0 代表自有证书source:1 代表托管证书 |
»» endTime | string¦null | true | none | 到期时间 | none |
»» status | string | true | none | SSL状态 | status:issuing 代表颁发中 status:normal 代表正常 |
»» port | integer | true | none | 端口 | none |
»» protocol | integer | true | none | 回源类型 | protocol:0 代表HTTP protocol:1 代表HTTPS |
»» certificateTaskStatus | string¦null | true | none | none | |
» code | integer | true | none | none | |
» msg | string | true | none | none |