Consulta nomes de domínio acelerados por certificado SSL.
Descrição da operação
Cada conta pode chamar esta operação até 100 vezes por segundo.
Experimente agora
Testar
Autorização RAM
|
Ação |
Nível de acesso |
Tipo de recurso |
Chave de condição |
Ação dependente |
|
cdn:DescribeCdnDomainByCertificate |
get |
*All Resource
|
Nenhuma | Nenhuma |
Parâmetros da solicitação
|
Parâmetro |
Tipo |
Obrigatório |
Descrição |
Exemplo |
| SSLPub |
string |
Sim |
A chave pública do certificado SSL. Você deve codificar a chave pública em Base64 e, em seguida, chamar a função encodeURIComponent para codificar a chave pública novamente. A chave pública deve estar no formato PEM. |
****** |
| SSLStatus |
boolean |
Não |
Especifica se a lista de nomes de domínio a ser retornada contém apenas nomes de domínio com HTTPS ativado ou desativado.
|
true |
| Exact |
boolean |
Não |
Especifica se a lista de nomes de domínio a ser retornada corresponde ao certificado SSL.
|
true |
Elementos de resposta
|
Elemento |
Tipo |
Descrição |
Exemplo |
|
object |
|||
| RequestId |
string |
O ID da solicitação. |
ASAF2FDS-12SADSA-DDSAE3D-DSADCD4C-CDADS2D |
| CertInfos |
object |
||
| CertInfo |
array<object> |
As informações sobre o certificado. |
|
|
object |
|||
| CertStartTime |
string |
The time when the certificate became effective. |
Nov 29 23:59:59 2017 GMT |
| CertExpireTime |
string |
The expiration time of the certificate. |
Nov 29 00:00:00 2016 GMT |
| CertCaIsLegacy |
string |
Indicates whether the SSL certificate is obsolete. Valid values:
|
yes |
| CertSubjectCommonName |
string |
The name of the SSL certificate owner. |
owner |
| CertType |
string |
The type of the certificate. Valid values: RSA, DSA, and ECDSA. |
RSA |
| DomainNames |
string |
The domain names (DNS fields) that match the SSL certificate. Multiple domain names are separated by commas (,). |
*.example.com,aliyundoc.com |
| CertExpired |
string |
Indicates whether the SSL certificate is expired. Valid values:
|
yes |
| Issuer |
string |
The certificate authority (CA) that issued the certificate. |
C=US, O=Symantec Corporation, OU=Symantec Trust Network, OU=Domain Validated SSL, CN=Symantec Basic DV SSL CA - G1 |
| DomainList |
string |
If a value is returned, the value matches the SSL certificate. Multiple domain names are separated by commas (,). |
example.com,aliyundoc.com |
Exemplos
Resposta de sucesso
JSON formato
{
"RequestId": "ASAF2FDS-12SADSA-DDSAE3D-DSADCD4C-CDADS2D",
"CertInfos": {
"CertInfo": [
{
"CertStartTime": "Nov 29 23:59:59 2017 GMT",
"CertExpireTime": "Nov 29 00:00:00 2016 GMT",
"CertCaIsLegacy": "yes",
"CertSubjectCommonName": "owner",
"CertType": "RSA",
"DomainNames": "*.example.com,aliyundoc.com",
"CertExpired": "yes",
"Issuer": "C=US, O=Symantec Corporation, OU=Symantec Trust Network, OU=Domain Validated SSL, CN=Symantec Basic DV SSL CA - G1",
"DomainList": "example.com,aliyundoc.com"
}
]
}
}
Códigos de erro
|
Código de status HTTP |
Código de erro |
Mensagem de erro |
Descrição |
|---|---|---|---|
| 400 | Certificate.FormatError | The format of the certificate is invalid. | The specified 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. |
Consulte Códigos de Erro para uma lista completa.
Notas de versão
Consulte Notas de Versão para uma lista completa.