Certificate Management API¶
POST Certificate Configuration for Domain¶
POST /prod-api/cdn/layer7/ssl/describeSSLInfo
Body Request Parameters
Request Parameters¶
| Name | Location | Type | Required | Chinese Name | Description |
|---|---|---|---|---|---|
| Authorization | header | string | No | none | |
| body | body | L7DescribeSSLInfoVo | No | L7DescribeSSLInfoVo | none |
Example Responses
200 Response
{
"msg": "Operation successful",
"code": 200,
"data": {
"dnsName": "demo.com",
"domains": [
{
"port": 0,
"domain": "*.demo.com",
"id": 194,
"sslsupport": 0
}
]
}
}
201 Response
Responses¶
| Status Code | Status Meaning | Description | Data Model |
|---|---|---|---|
| 200 | OK | none | Inline |
| 201 | Created | none | Inline |
| 401 | Unauthorized | none | Inline |
| 403 | Forbidden | none | Inline |
| 404 | Not Found | none | Inline |
Response Data Structure¶
Status Code 200
| Name | Type | Required | Constraints | Chinese Name | Description |
|---|---|---|---|---|---|
| » msg | string | true | none | none | |
| » code | integer | true | none | none | |
| » data | object | true | none | none | |
| »» dnsName | string | true | none | Certificate Domain | none |
| »» domains | [object] | true | none | Domain Parameters | none |
| »»» port | string | true | none | Port | none |
| »»» domain | string | true | none | Domain | none |
| »»» sslsupport | string | true | none | Origin Type | 0:HTTP 1:HTTPS |
| »»» endTime | string | true | none | Expiration Time | none |
| »»» id | string | true | none | Domain ID | none |
Data Model¶
L7DescribeSSLInfoVo
L7DescribeSSLInfoVo
Properties¶
| Name | Type | Required | 约束 | Chinese Name | Description |
|---|---|---|---|---|---|
| certId | integer(int64) | true | none | Certificate ID | none |
| source | integer(int32) | true | none | Certificate Source | 0:Self-owned certificate 1:托管证书 |
| sslCert | string | false | none | Certificate Content | none |
| sslKey | string | false | none | Private Key Content | none |