Skip to main content
POST
Management API 主机(api.scanova.io)上为域名上传已签发的 SSL 证书并将其激活,使用您的原始 Management API 密钥进行身份验证。
仅限企业版。需要 CUSTOM_DOMAIN_CUSTOM_SSL 配额,该配额需人工授予——没有任何自助套餐包含此配额。需要事先存在 CSR——参见创建 SSL 证书请求
integer
必填
域名的 id
string
必填
已签发的证书,PEM 编码。
string
证书颁发机构的中间证书链,PEM 编码,如果您的 CA 单独提供该链。
Scanova 会根据域名和 CSR 的密钥验证该证书,将其导入 AWS ACM,并将其关联以服务实际流量——此过程完全自动化,没有人工审核步骤。可能出现三种结果:
  • 200——已验证、导入并激活。该域名上的流量现在由新证书提供服务。
  • 202——已导入 ACM,但尚未签发;尚未关联以服务流量。请稍后再查看。
  • 207 Multi-Status——已签发,但关联以服务流量失败;Scanova 支持团队已自动收到通知,将进行跟进。
如果该域名尚不存在 CSR、证书与域名或 CSR 的密钥不匹配,或 AWS ACM 拒绝导入(错误消息包含在响应中),则返回 400

相关内容

授权

Authorization
string
header
必填

Send your Management API key as the raw value of the Authorization header — no "Bearer " or "Token " prefix, and no other characters. Example: Authorization: 401f7ac837da42b97f613d789819ff93537bee6a. A header containing more than one space-separated part is rejected outright. Requests also require the request's Host header to be the management API host (e.g. api.scanova.io) — the same key sent to the regular API host will not authenticate.

路径参数

pk
integer
必填

响应

Certificate validated, imported, and activated for serving traffic.