百度智能云

All Product Document

          CDN

          Query Domain Name Certificate

          Interface

          The interface is used to query the information of the certificate bound to the domain name.

          Method Path Description
          GET /v2/{domain}/certificates Query the certificate bound to the domain.

          domain: The domain name of the associated target certificate.

          Request Body: None

          Response Body

          Parameters Type Description
          certificateDetail certificateDetail domain-associated certificate information

          Description of certificateDetail type

          Parameters Optional Type Description
          certId Required string Certificate ID
          certName Required string Certificate name
          certCommonName Required string Common name of the certificate
          certDNSNames Required String Other DNS name of Certificate
          certStartTime Required DateTime Effective time of certificate
          certStopTime Required DateTime Expiration time of certificate
          certCreateTime Required DateTime Creation time of certificate
          certUpdateTime Required DateTime Update time of certificate

          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"
          }
          Previous
          Forward-to-origin Configuration Interface
          Next
          Delete Domain Name Certificate