Mengkueri certificate signing request (CSR) di akun Anda.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-cert:ListCsr |
list |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| KeyWord |
string |
No |
Kata kunci untuk pencarian fuzzy. Misalnya, Anda dapat menentukan nama domain. |
test_name |
| Algorithm |
string |
No |
Algoritma. Nilai valid: RSA, ECC, dan SM2. Valid values:
|
RSA |
| CurrentPage |
integer |
No |
Nomor halaman. Nilai default: 1. |
1 |
| ShowSize |
integer |
No |
Jumlah entri per halaman. Nilai default: 50. |
10 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The object. |
||
| ShowSize |
integer |
The number of entries per page. Default value: 50. |
10 |
| CurrentPage |
integer |
The page number. |
1 |
| TotalCount |
integer |
The total number of entries returned. |
10 |
| CsrList |
array<object> |
The CSRs. |
|
|
object |
|||
| CsrId |
integer |
The ID of the CSR. |
3454 |
| Algorithm |
string |
The algorithm. Valid values: RSA, SM2, and ECC. |
RSA |
| KeySize |
integer |
The key length that is used by the algorithm. The key length for RSA algorithms can be 2,048, 3,072, and 4,096 bits. The key length for ECC and SM2 algorithms can be 256 bits. |
2048 |
| KeySha2 |
string |
The public key that is calculated by using the SHA256 algorithm. |
1234 |
| CommonName |
string |
The primary domain name, which is a common name. |
example.com |
| Sans |
string |
The secondary domain names. Separate multiple domain names with commas (,). |
www.example.com,www.aliyundoc.com |
| CountryCode |
string |
The code of the country or region in which the organization is located. For example, you can use CN to indicate China and use US to indicate the United States. The default value is the code of the country or region in which the organization is located. The organization is associated with the intermediate CA certificate from which the certificate is issued. For more information about country codes, see the "Country codes" section of the Manage company profiles topic. |
CN |
| Province |
string |
The province or location. |
Beijing |
| Locality |
string |
The city where the company is located. |
Beijing |
| CorpName |
string |
The name of the company. |
corp_name |
| Department |
string |
The department that uses the certificate. |
IT |
| HasPrivateKey |
boolean |
Indicates whether the certificate contains a private key. |
true |
| Name |
string |
The name of the CSR. |
name |
| RequestId |
string |
The request ID. |
E865F6AD-0294-4A24-A58B-DAC6BE2BDD20 |
Contoh
Respons sukses
JSONformat
{
"ShowSize": 10,
"CurrentPage": 1,
"TotalCount": 10,
"CsrList": [
{
"CsrId": 3454,
"Algorithm": "RSA",
"KeySize": 2048,
"KeySha2": "1234",
"CommonName": "example.com",
"Sans": "www.aliyundoc.com,www.example.com",
"CountryCode": "CN",
"Province": "Beijing",
"Locality": "Beijing",
"CorpName": "北京CSR科技有限公司",
"Department": "IT",
"HasPrivateKey": true,
"Name": "test_name"
}
],
"RequestId": "E865F6AD-0294-4A24-A58B-DAC6BE2BDD20"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.