Obtém as informações do certificado de um nome de domínio especificado.
Descrição da operação
Você deve especificar um nome de domínio cujas informações de certificado deseja consultar.
Limite de QPS
Você pode chamar esta operação até 100 vezes por segundo por conta. Solicitações que excedam esse limite serão descartadas e você poderá sofrer interrupções no serviço.
Experimente agora
Testar
Autorização RAM
|
Ação |
Nível de acesso |
Tipo de recurso |
Chave de condição |
Ação dependente |
|
live:DescribeLiveDomainCertificateInfo |
get |
*All Resource
|
Nenhuma | Nenhuma |
Parâmetros da solicitação
|
Parâmetro |
Tipo |
Obrigatório |
Descrição |
Exemplo |
| RegionId |
string |
Não |
O ID da região. |
cn-shanghai |
| DomainName |
string |
Sim |
O domínio de streaming ou domínio de ingestão. |
example.com |
Elementos de resposta
|
Elemento |
Tipo |
Descrição |
Exemplo |
|
object |
|||
| RequestId |
string |
O ID da solicitação. |
5C1E43DC-9E51-4771-82C0-7D5ECEB547A1 |
| CertInfos |
object |
||
| CertInfo |
array<object> |
As informações do certificado. |
|
|
object |
|||
| Status |
string |
The status of the free certificate that is used for testing. Valid values:
Nota
The Status parameter is valid only if the certificate is a free certificate for testing. Otherwise, an empty value is returned. |
success |
| CertLife |
string |
The validity period of the certificate. |
3 months |
| CertExpireTime |
string |
The expiration time of the certificate. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC. |
2018-06-03T22:03:39Z |
| SSLPub |
string |
The public key of the certificate. |
yourSSLPub |
| SSLProtocol |
string |
Indicates whether HTTPS is enabled. Valid values:
|
on |
| CertType |
string |
The type of the certificate. Valid values:
|
cas |
| CertDomainName |
string |
The streaming domain or ingest domain that matches the certificate. |
example.com |
| CertName |
string |
The certificate name. |
Cert-**** |
| CertOrg |
string |
The certificate authority (CA). |
Let's Encrypt |
| DomainName |
string |
The streaming domain or ingest domain. |
example.com |
Exemplos
Resposta de sucesso
JSON formato
{
"RequestId": "5C1E43DC-9E51-4771-82C0-7D5ECEB547A1",
"CertInfos": {
"CertInfo": [
{
"Status": "success",
"CertLife": "3 months",
"CertExpireTime": "2018-06-03T22:03:39Z",
"SSLPub": "yourSSLPub",
"SSLProtocol": "on",
"CertType": "cas",
"CertDomainName": "example.com",
"CertName": "Cert-****",
"CertOrg": "Let's Encrypt",
"DomainName": "example.com"
}
]
}
}
Códigos de erro
Consulte Códigos de Erro para uma lista completa.
Notas de versão
Consulte Notas de Versão para uma lista completa.