内容分发网络 CDN-查询所有绑定HTTPS证书的域名信息:响应示例

时间:2024-04-23 16:29:51

响应示例

状态码: 200

OK

{
  "total" : 1,
  "https" : [ {
    "https_status" : 1,
    "force_redirect_https" : 2,
    "force_redirect_config" : {
      "redirect_type" : "http",
      "switch" : 1
    },
    "http2" : 0,
    "cert_name" : "cdn_test",
    "certificate" : "-----BEGIN CERTIFICATE-----XX-----END CERTIFICATE-----",
    "private_key" : null,
    "certificate_type" : 0,
    "expiration_time" : 1606187416000,
    "domain_id" : "3e****************************63",
    "domain_name" : "www.example.com"
  } ]
}
support.huaweicloud.com/api-cdn/ShowCertificatesHttpsInfo.html