GetUserCertificateDetail
Region:
China (Hangzhou)
Request Parameters
Required
CertIdThe ID of the certi...
CertFilterSpecifies whether t...
Please select a Boolean value
Plugin DownloadLearn more
VS Code Plugin
Before installing the plugin, please install VS CodeBefore installing the plugin, please install VS Code
Alibaba Cloud Developer Toolkit is a collection of extensions that can help access Alibaba Cloud services in Visual Studio Code.
JetBrains Plugin
Before installing the plugin, please install JetBrains IDEBefore installing the plugin, please install JetBrains IDE
The Alibaba Cloud Developer Toolkit for JetBrains makes it easier to access Alibaba Cloud services.

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.

Request Parameters

Field NameField Details
CertIdinteger<int64>

The ID of the certificate.View Details...

Notice The field type is Long, and the precision may be lost during serialization/deserialization. Please note that the value must not be greater than 9007199254740991.
Example:6055048
CertFilterboolean

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.

Example:false

Response Parameters

Field NameField Details
Certstring

The content of the certificate if the certificate does not use an SM algorithm. If certFilter is set to false, this parameter is returned. Otherwise, this parameter is not returned.

Example:---BEGIN CERTIFICATE----- MIIF...... -----END CERTIFICATE-----
Keystring

The private key of the certificate if the certificate does not use an SM algorithm. If certFilter is set to false, this parameter is returned. Otherwise, this parameter is not returned.

Example:-----BEGIN RSA PRIVATE KEY----- MII.... -----END RSA PRIVATE KEY-----
EncryptCertstring

The content of the encryption certificate if the certificate uses an SM algorithm and is encoded in the PEM format. If certFilter is set to false, this parameter is returned. Otherwise, this parameter is not returned.

Example:-----BEGIN CERTIFICATE----- MIICDzCCA*** -----END CERTIFICATE-----
EncryptPrivateKeystring

The private key of the encryption certificate if the certificate uses an SM algorithm and is encoded in the PEM format. If certFilter is set to false, this parameter is returned. Otherwise, this parameter is not returned.

Example:-----BEGIN EC PRIVATE KEY----- MHcCAQEEI**** -----END EC PRIVATE KEY-----
SignCertstring

The content of the signing certificate if the certificate uses an SM algorithm and is encoded in the PEM format. If certFilter is set to false, this parameter is returned. Otherwise, this parameter is not returned.

Example:-----BEGIN CERTIFICATE----- MIICDzCCAbagAw**** -----END CERTIFICATE-----
SignPrivateKeystring

The private key of the signing certificate if the certificate uses an SM algorithm and is encoded in the PEM format. If certFilter is set to false, this parameter is returned. Otherwise, this parameter is not returned.

Example:-----BEGIN EC PRIVATE KEY----- MHcCAQEEILR**** -----END EC PRIVATE KEY-----
Idinteger<int64>

The ID of the certificate.

Notice Please note that this value is of type Long, and there may be a risk of loss of precision in some languages. Please use it with caution.
Example:121345
Namestring

The name of the certificate.

Example:cert_name
RequestIdstring

The ID of the request, which is used to locate and troubleshoot issues.

Example:15C66C7B-671A-4297-9187-2C4477247A74
Commonstring

The primary domain name that is bound to the certificate.

Example:*.com
Fingerprintstring

The fingerprint of the certificate.

Example:1D7801BBE772D5DE55CBF1F88AEB41A42402DA07
Issuerstring

The certificate authority (CA) that issued the certificate.

Example:Digicert
OrgNamestring

The name of the company or organization to which the certificate purchaser belongs.

Example:Alibaba
Provincestring

The province of the company or organization to which the certificate purchaser belongs.

Example:zhejiang
Citystring

The city of the company or organization to which the certificate purchaser belongs.

Example:hangzhou
Countrystring

The country or region of the company or organization to which the certificate purchaser belongs.

Example:CN
StartDatestring

The issuance date of the certificate.

Example:2018-07-13
EndDatestring

The expiration date of the certificate.

Example:2023-10-25
Sansstring

All domain names that are bound to the certificate.

Example:*.com
Expiredboolean

Indicates whether the certificate has expired. Valid values:View Details...

Example:true
BuyInAliyunboolean

Indicates whether the certificate was purchased from Alibaba Cloud. Valid values:View Details...

Example:true
OrderIdinteger<int64>

The order ID.

Notice Please note that this value is of type Long, and there may be a risk of loss of precision in some languages. Please use it with caution.
Example:123456
ResourceGroupIdstring

The ID of the resource group.

Example:rg-aek****wia
Algorithmstring

The algorithm.

Example:RSA
InstanceIdstring

The instance ID of the resource.

Example:cas-upload-50yf1q
Sha2string

The SHA-2 value of the certificate.

Example:840707695D5EE41323102DDC2CB4924AA561012FBDC4E1A6324147119ED3C339
SerialNostring

The serial number of the certificate.

Example:06ea4879591ddf84e6c8b6ba43607ccf
CertIdentifierstring

The certificate identifier. The value is in the "Certificate ID-cn-hangzhou" format. For example, if the ID of the certificate is 123, the value of CertIdentifier is 123-cn-hangzhou.

Example:10741304-cn-hangzhou
CertChainarray<object>

The certificate chain.

NotAfterinteger<int64>

The end of the validity period of the certificate.

Notice Please note that this value is of type Long, and there may be a risk of loss of precision in some languages. Please use it with caution.
Example:17322613180000
NotBeforeinteger<int64>

The beginning of the validity period of the certificate.

Notice Please note that this value is of type Long, and there may be a risk of loss of precision in some languages. Please use it with caution.
Example:17312613180000
Change History
No Change History found.