跳转至

海外 ACDN 证书

POST 导入证书

POST /prod-ap/acdn/ssl/importCertificate

Body 请求参数

{
  "certificate": "id consectetur sunt reprehenderit et",
  "privateKey": "sint",
  "certificateChain": "mollit consectetur"
}

请求参数

名称 位置 类型 必选 中文名 说明
Authorization header string none
body body ImportSSLCertificateVO ImportSSLCertificateVO none

返回示例

200 Response

{
  "msg": "上传成功",
  "code": 200
}

201 Response

{}

返回结果

状态码 状态码含义 说明 数据模型
200 OK none Inline
201 Created none Inline
401 Unauthorized none Inline
403 Forbidden none Inline
404 Not Found none Inline

返回数据结构

状态码 200

名称 类型 必选 约束 中文名 说明
» additionalProperties object false none none

数据模型

ImportSSLCertificateVO

{
  "certificate": "string",
  "certificateChain": "string",
  "privateKey": "string"
}

ImportSSLCertificateVO

属性

名称 类型 必选 约束 中文名 说明
certificate string true none 证书正文 none
certificateChain string false none 证书链 none
privateKey string true none 证书私钥 none