Reissue Supplementary CSR Certificate - ReIssueCertificateCSRInfo
Overview
Reissue Supplementary CSR Certificate
Definition
Public Parameters
Parameter Name | Type | Description Information | Required |
---|---|---|---|
Action | string | Corresponding API command name, the current API is ReIssueCertificateCSRInfo . | Yes |
PublicKey | string | The user's public key can be obtained from Console (opens in a new tab) | 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 |
---|---|---|---|
CertificateID | int | Certificate Number | Yes |
CSROnline | string | CSR source 0 - Local paste, 1 - Online generation | Yes |
CSR | string | csr CSROnline=0 is required when filled | No |
CSREncryptAlgo | string | Encryption algorithm Required when CSROnline=1 Supports RSA, ECDSA, SM2 three values | No |
CSRKeyParameter | string | Parameters of the encryption algorithm are required when CSROnline=1 1. RSA supports 2048,3072,4096 2. ECDSA supports p256,p384,p512 3. SM2 supports p256 | No |
Domains | string | Domain name, multiple domain names are separated by commas | No |
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 RetCode is non-zero. | No |
Example
Request Example
https://api.surfercloud.com/?Action=ReIssueCertificateCSRInfo
&CertificateID=2
&CsrEncryptAlgo=ECDSA
&CsrKeyParameter=p256
&Domains=www.test1.com
&CSROnline=0
&CSR=a1b2c3d4f5a2b3c4d5f6
Response Example
{
"Action": "ReIssueCertificateCSRInfoResponse",
"RetCode": 0
}