Docs
api
SSL Certificate Management(USSL)
UploadNormalCertificate

Upload Managed Certificate - UploadNormalCertificate

Overview

Upload Managed Certificate

Definition

Public Parameters

Parameter NameTypeDescription InformationRequired
ActionstringCorresponding API command name, the current API is UploadNormalCertificate.Yes
PublicKeystringThe user’s public key can be obtained from ConsoleYes
SignaturestringUser signature generated based on public key and API command, see Signature AlgorithmYes

Request Parameters

Parameter NameTypeDescription InformationRequired
CertificateNamestringCertificate NameYes
SslPublicKeystringBase64 encoded value of the certificate public keyYes
SslPrivateKeystringBase64 encoding value of the private keyYes
SslMD5stringCertificate signing, the MD5 value calculated by concatenating the public key base64 and the private key base64.Yes
SslCaKeystringBase64 encoding value of the certificate chain file contentNo

Response Field

Field NameTypeDescription InformationRequired
RetCodeintReturn status code. If it is 0, it means successful return. If it is not 0, it means failure.Yes
ActionstringOperation command name.Yes
MessagestringReturns an error message, providing detailed description when RetCode is non-zero.No
CertificateIDintOperation’s Certificate IdNo
LongResourceIDstringLong Resource ID of the CertificateNo

Example

Request Example

https://api.dezai.com/?Action=UploadNormalCertificate
&SslCaKey=lXUzWbSR
&SslPublicKey=lXUzWbSR
&SslCaKey=lXUzWbSR
&SslMD5=lXUzWbSR
&CertificateName=GoodCertcification

Response Example

{
  "Action": "UploadNormalCertificateResponse",
  "CertificateID": 7,
  "LongResourceID": "FxCzCwyB",
  "RetCode": 0
}