Updates the configuration of a Certificate Management Service instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-cert:UpdateInstance |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The ID of the instance. |
cas-cn-68n1mm16**** |
| CertificateName |
string |
No |
The name of the instance. When issuing a certificate, this value serves as the default certificate name. |
123 |
| Domain |
string |
No |
The domain name to bind to the certificate. Requirements are as follows:
Important
If you bind multiple domain names to the certificate, this parameter is required. This parameter and the Csr parameter cannot both be empty. If you set both parameters, the system uses the CN field value from the Csr as the domain name for the certificate. |
test.com |
| KeyAlgorithm |
string |
No |
The certificate algorithm. Default value: RSA_2048.
|
RSA_2048 |
| AutoReissue |
string |
No |
Whether to enable automatic management.
|
enable |
| CompanyId |
integer |
No |
The company information ID. Required for OV and EV certificates. Otherwise, you cannot call ApplyCertificate to request a certificate. |
44211 |
| ContactIdList |
array |
No |
The list of contact IDs. You must specify at least one contact. Otherwise, you cannot call ApplyCertificate to request a certificate. |
|
|
integer |
No |
The contact information ID. |
123 |
|
| GenerateCsrMethod |
string |
No |
The CSR generation method. Default value: online.
|
online |
| Csr |
string |
No |
The CSR content. You can generate a CSR using OpenSSL or Keytool. For more information, see How to create a CSR file. |
-----BEGIN CERTIFICATE REQUEST----- ...... -----END CERTIFICATE REQUEST----- |
| ValidationMethod |
string |
No |
The certificate validation method.
|
DNS |
| City |
string |
No |
The city where the company or organization of the certificate requester is located. Required when generating a CSR for a DV certificate. Default value: Beijing. |
Beijing |
| Province |
string |
No |
The province or region where the company is located. Required when generating a CSR for a DV certificate. Default value: Beijing. |
Beijing |
| CountryCode |
string |
No |
The country or region code of the certificate organization. For example, CN represents China, and US represents the United States. Required when generating a CSR for a DV certificate. Default value: CN. |
CN |
| ResourceGroupId |
string |
No |
The ID of the resource group to which the instance belongs. |
rg-ae******4wia |
| Tags |
array<object> |
No |
A list of tags. |
|
|
object |
No |
The list of tags. |
||
| TagKey |
string |
No |
The tag key of the instance. Valid values for N: 1 to 20. If you specify this value, it cannot be an empty string. It can contain up to 64 characters. It cannot start with |
test |
| TagValue |
string |
No |
The tag value of the instance. Valid values for N: 1 to 20. If you specify this value, it can be an empty string. It can contain up to 128 characters. It cannot start with |
test |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. Alibaba Cloud generates a unique identifier for each request to help troubleshoot and locate issues. |
0068247C-A454-5FC9-93BF-C41CBB5CD19E |
Examples
Success response
JSON format
{
"RequestId": "0068247C-A454-5FC9-93BF-C41CBB5CD19E"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.