Update SSL Certificate - UpdateUFileSSLCert
Overview
Update the specified domain certificate
Definition
Public Parameters
| Parameter Name | Type | Description Information | Required | 
|---|---|---|---|
| Action | string | Corresponding API command name, the current API is UpdateUFileSSLCert. | Yes | 
| PublicKey | string | The user’s public key can be obtained from Console  | Yes | 
| Signature | string | User signature generated based on public key and API command, see Signature Algorithm | Yes | 
Request Parameters
| Parameter Name | Type | Description Information | Required | 
|---|---|---|---|
| BucketName | string | Bucket Name, Globally Unique | Yes | 
| Domain | string | Domain Name | Yes | 
| CertificateName | string | SSL Certificate Name | Yes | 
| Certificate | string | Enter the SSL certificate file content (PEM encoded). Certificate file content format: If your business scenario only requires ensuring the server certificate is trusted, the certificate file needs to include the server certificate (â‘ ) and the intermediate certificate (â‘¡). If your intermediate certificate and server certificate are two separate files, you can fill in the intermediate certificate content in the certificate chain configuration item. | Yes | 
| CertificateKey | string | Enter the SSL certificate private key content (PEM encoded). | Yes | 
Response Field
| Field Name | Type | Description Information | Required | 
|---|---|---|---|
| RetCode | int | Return status code. If it is 0, it means successful return. If it is not 0, it means failure. | Yes | 
| Action | string | Operation command name. | Yes | 
| Message | string | Returns an error message, providing detailed description when RetCodeis non-zero. | No | 
Example
Request Example
https://api.surfercloud.com/?Action=UpdateUFileSSLCert
&BucketName=qBzJBwbx
&Domain=DYIHMQtL
&Certificate=nuFuFtqm
&CertificateKey=yMDKnLkT
&CertificateName=zjAasLRxResponse Example
{
  "Action": "UpdateUFileSSLCertResponse",
  "RetCode": 0
}