SetDcdnDomainCSRCertificate_全站加速_API文档

插件下载了解更多
VS Code 插件
安装插件之前,确保已安装 VS Code安装插件之前,确保已安装 VS Code
Alibaba Cloud Developer Toolkit is a collection of extensions that can help access Alibaba Cloud services in Visual Studio Code.
JetBrains 插件
安装插件之前,确保已安装 JetBrains IDE安装插件之前,确保已安装 JetBrains IDE
The Alibaba Cloud Developer Toolkit for JetBrains makes it easier to access Alibaba Cloud services.

流控信息

请求速率为50/1(s)。

授权信息

当前云产品暂无权限信息透出。

请求参数

字段名称字段详情
ServerCertificatestring

证书内容。该证书必须是通过 CreateDcdnCertificateSigningRequest 接口创建的 CSR 对应的签名证书,内部必须是 PEM 格式的证书。展开详情

示例值:----BEGIN CERTIFICATE----- MIIFz****-----END CERTIFICATE-----
DomainNamestring

指定证书所属加速域名。需属于 HTTPS 加速类型。

示例值:example.com参考取值来源:
    AddDcdnIpaDomain
    DescribeDcdnWafDomains
    BatchAddDcdnDomain

返回参数

字段名称字段详情
RequestIdstring

请求 ID。

示例值:0AEDAF20-4DDF-4165-8750-47FF9C1929C9

返回示例

错误码

全局错误码
HTTP 状态码错误码错误信息操作
400
Certificate.MissingParameter
You must specify the Certificate parameter.诊断
400
Certificate.EncodeError
An error occurred while encoding the certificate.诊断
400
Certificate.DecodeError
An error occurred while decoding the certificate.诊断
400
Certificate.FormatError
The format of the certificate is invalid.诊断
400
Certificate.MissMatch
The certificate does not match the domain.诊断
400
Certificate.NoPrivateKey
The private key of the certificate does not exist.诊断
500
Internal.ForbidError
You cannot modify the configurations when some features of the domain are in a canary deployment.诊断
500
Internal.ConfigError
An error occurred while configuring the certificate.诊断

变更历史

暂无变更历史

相关示例