Queries an SSL certificate.
Operation description
Note
Each account can call this operation up to 20 times per second.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| CertName |
string |
Yes |
The ID of the SSL certificate. You can query only one certificate at a time. |
cert-15480655xxxx |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| CertName |
string |
The name of the certificate. |
cert-15480655xxxx |
| Key |
string |
The key of the SSL certificate. |
xxxx |
| Cert |
string |
The certificate. |
-----BEGIN CERTIFICATE-----\nMIIFzDCCBLSgAwIBxxxx |
| CertId |
integer |
The ID of the certificate. |
881049 |
| RequestId |
string |
The ID of the request. |
0AEDAF20-4DDF-4165-8750-47FF9C1929C9 |
Examples
Success response
JSON format
{
"CertName": "cert-15480655xxxx",
"Key": "xxxx",
"Cert": "-----BEGIN CERTIFICATE-----\\nMIIFzDCCBLSgAwIBxxxx",
"CertId": 881049,
"RequestId": "0AEDAF20-4DDF-4165-8750-47FF9C1929C9"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 403 | InvaildParameter | The parameter you provided is invalid. | The format of the domain name is invalid. Correct the format and try again. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.