根据证书信息获取加速域名。
接口说明
调用本接口可根据证书信息查询匹配的加速域名。
QPS 限制
本接口的单用户 QPS 限制为 100 次/秒。超过限制,API 调用会被限流,这可能会影响您的业务,请合理调用。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
live:DescribeLiveDomainByCertificate |
get |
*Domain
|
无 | 无 |
请求参数
名称 |
类型 |
必填 |
描述 |
示例值 |
RegionId |
string |
否 |
||
SSLPub |
string |
是 |
证书公钥,需要 base64 编码后再进行 encodeURIComponent。支持 pem 格式。 |
****** |
SSLStatus |
boolean |
否 |
表示返回的域名列表只包含开启或关闭 HTTPS 的域名。
|
true |
返回参数
名称 |
类型 |
描述 |
示例值 |
object |
返回数据。 |
||
CertInfos |
object |
||
CertInfo |
array |
证书信息列表。 |
|
object |
列表详情。 |
||
CertCaIsLegacy |
string |
证书 CA 废弃状态。取值:
|
yes |
CertExpireTime |
string |
证书过期时间。 |
Nov 29 00:00:00 2016 GMT |
CertExpired |
string |
证书过期状态。 取值:
|
yes |
CertStartTime |
string |
证书开始时间。 |
Nov 29 23:59:59 2017 GMT |
CertSubjectCommonName |
string |
证书所有者名称。 |
owner |
CertType |
string |
证书类型,取值:RSA、DSA、ECDSA。 |
RSA |
DomainList |
string |
如果该返回值不为空,则将该列表与证书做匹配,多个用半角逗号(,)分隔。 |
example.com,aliyundoc.com |
DomainNames |
string |
证书匹配的域名(DNS 字段),多个用半角逗号(,)分隔。 |
*.example.com,aliyundoc.com |
Issuer |
string |
证书颁发机构。 |
C=US, O=Symantec Corporation, OU=Symantec Trust Network, OU=Domain Validated SSL, CN=Symantec Basic DV SSL CA - G1 |
RequestId |
string |
请求 ID。 |
ASAF2FDS-12SADSA-DDSAE3D-DSADCD4C-CDADS2D |
示例
正常返回示例
JSON
格式
{
"CertInfos": {
"CertInfo": [
{
"CertCaIsLegacy": "yes",
"CertExpireTime": "Nov 29 00:00:00 2016 GMT",
"CertExpired": "yes",
"CertStartTime": "Nov 29 23:59:59 2017 GMT",
"CertSubjectCommonName": "owner",
"CertType": "RSA",
"DomainList": "example.com,aliyundoc.com",
"DomainNames": "*.example.com,aliyundoc.com",
"Issuer": "C=US, O=Symantec Corporation, OU=Symantec Trust Network, OU=Domain Validated SSL, CN=Symantec Basic DV SSL CA - G1"
}
]
},
"RequestId": "ASAF2FDS-12SADSA-DDSAE3D-DSADCD4C-CDADS2D"
}
错误码
HTTP status code |
错误码 |
错误信息 |
描述 |
---|---|---|---|
400 | Certificate.FormatError | The format of the certificate is invalid. | |
400 | SSLPub.MissingParameter | The Cert parameter is required. | |
400 | Decode.Error | Error decoding the SSLPub certificate. | |
400 | Certificate.DecodeError | An error occurred while decoding the certificate. | |
500 | InternalError | The request processing has failed due to backend service exception. |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。