Query the Domain Name Certificate
Last Updated:2020-09-17
Interface
This interface is used to query the information of certificates bound to the domain name.
| method | path | Description |
|---|---|---|
| GET | /v2/{domain}/certificates | Query the certificate bound to the domain |
domain: Correlate the domain name of the target certificate.
Request body None
Response body
| Parameter | Type | Description |
|---|---|---|
| certificateDetail | certificateDetail | Certificate information associated with the domain |
certificateDetail type description
| Parameter | Optional | Type | Description |
|---|---|---|---|
| certId | Required | string | Certificate ID |
| certName | Required | string | Certificate name |
| certCommonName | Required | string | Certificate Common Name |
| certDNSNames | Required | String | Other DNS names of the certificate |
| certStartTime | Required | DateTime | Certificate effective time |
| certStopTime | Required | DateTime | Certificate expiration time |
| certCreateTime | Required | DateTime | Certificate creation time |
| certUpdateTime | Required | DateTime | Certificate renewal time |
Request example
GET /v2/www.mydomain.com/certificates Response example
{
"certId": "cert-4jzu5kagh59d",
"certName": "test",
"certCommonName": "downhdlogo.yy.com",
"certType": null,
"certStartTime": "2019-07-17T08:00:00Z",
"certStopTime": "2020-09-14T20:00:00Z",
"certDNSNames": "---------------------",
"certCreateTime": "2019-08-20T14:12:31Z",
"certUpdateTime": "2019-08-20T14:12:31Z"
} 