Queries the details of a certificate.
Operation description
You can call this operation up to 100 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
Debugging
Authorization information
The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action
policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:
- Operation: the value that you can use in the Action element to specify the operation on a resource.
- Access level: the access level of each operation. The levels are read, write, and list.
- Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
- The required resource types are displayed in bold characters.
- If the permissions cannot be granted at the resource level,
All Resources
is used in the Resource type column of the operation.
- Condition Key: the condition key that is defined by the cloud service.
- Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
Operation | Access level | Resource type | Condition key | Associated operation |
---|---|---|---|---|
yundun-cert:GetUserCertificateDetail | get | *All Resources * |
| none |
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
CertId | long | Yes | The ID of the certificate. Note
You can call the ListUserCertificateOrder operation to query the ID.
| 6055048 |
CertFilter | boolean | No | Specifies whether to filter return results. Valid values: true and false. Default value: false. true specifies that the Cert, Key, EncryptCert, EncryptPrivateKey, SignCert, and SignPrivateKey parameters are not returned. false specifies that the parameters are returned. | false |
Response parameters
Examples
Sample success responses
JSON
format
{
"Cert": "---BEGIN CERTIFICATE----- MIIF...... -----END CERTIFICATE-----",
"Key": "-----BEGIN RSA PRIVATE KEY----- MII.... -----END RSA PRIVATE KEY-----",
"EncryptCert": "-----BEGIN CERTIFICATE-----\nMIICDzCCA***\n-----END CERTIFICATE-----",
"EncryptPrivateKey": "-----BEGIN EC PRIVATE KEY-----\nMHcCAQEEI****\n-----END EC PRIVATE KEY-----",
"SignCert": "-----BEGIN CERTIFICATE-----\nMIICDzCCAbagAw****\n-----END CERTIFICATE-----\n",
"SignPrivateKey": "-----BEGIN EC PRIVATE KEY-----\nMHcCAQEEILR****\n-----END EC PRIVATE KEY-----\n",
"Id": 121345,
"Name": "cert_name",
"RequestId": "15C66C7B-671A-4297-9187-2C4477247A74",
"Common": "*.com",
"Fingerprint": "1D7801BBE772D5DE55CBF1F88AEB41A42402DA07",
"Issuer": "Digicert",
"OrgName": "Alibaba",
"Province": "zhejiang",
"City": "hangzhou",
"Country": "CN",
"StartDate": "2018-07-13",
"EndDate": "2023-10-25",
"Sans": "*.com",
"Expired": true,
"BuyInAliyun": true,
"OrderId": 123456,
"ResourceGroupId": "rg-aek****wia",
"Algorithm": "RSA",
"InstanceId": "cas-upload-50yf1q",
"Sha2": "840707695D5EE41323102DDC2CB4924AA561012FBDC4E1A6324147119ED3C339",
"SerialNo": "06ea4879591ddf84e6c8b6ba43607ccf",
"CertIdentifier": "10741304-cn-hangzhou",
"CertChain": [
{
"IssuerCommonName": "Encryption Everywhere DV TLS CA - G2",
"CommonName": "test",
"NotAfter": 17322613180000,
"NotBefore": 17322633180000,
"RemainDay": 1000
}
]
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2024-11-22 | The response structure of the API has changed | View Change Details |
2024-09-23 | The response structure of the API has changed | View Change Details |
2024-08-06 | The response structure of the API has changed | View Change Details |
2023-04-20 | The request parameters of the API has changed. The response structure of the API has changed | View Change Details |