Uploads an existing certificate signing request (CSR) to Certificate Management Service. After the upload, you can use the CSR to apply for certificates.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-cert:UploadCsr |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Name |
string |
No |
The name of the CSR. The name can be up to 50 characters long and can contain uppercase letters (A–Z), lowercase letters (a–z), digits (0–9), underscores (_), and hyphens (-). |
name |
| Csr |
string |
Yes |
The content of the CSR. |
-----BEGIN CERTIFICATE REQUEST----- ...... -----END CERTIFICATE REQUEST----- |
| Key |
string |
No |
The content of the certificate's private key in PEM format. |
-----BEGIN RSA PRIVATE KEY----- MII.... -----END RSA PRIVATE KEY----- |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The returned object. |
||
| CsrId |
integer |
The unique ID of the CSR. You can use this ID to obtain the content of the CSR. For more information, see GetCsrDetail. |
2271 |
| RequestId |
string |
The ID of the request. |
CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D |
Examples
Success response
JSON format
{
"CsrId": 2271,
"RequestId": "CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.