Complete the CSR Information - ComplementCSRInfo
Overview
Complete the CSR Information
Definition
Public Parameters
Parameter Name | Type | Description Information | Required |
---|---|---|---|
Action | string | Corresponding API command name, the current API is ComplementCSRInfo . | 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 | Purchase Certificate Number | Yes |
Domains | string | The domain names bound to the certificate, multiple domain names are separated by commas, the first domain name is the common domain name cnname. | Yes |
CSROnline | int | Whether to generate CSR online, 0-Copy, 1-Generate online | Yes |
CompanyName | string | Company Name | Yes |
CompanyAddress | string | Company Contact Address | Yes |
CompanyRegion | string | Province | Yes |
CompanyCity | string | City | Yes |
CompanyCountry | string | Country code, default is China CN | Yes |
CompanyDivision | string | Company Department | Yes |
AdminName | string | Applicant Name | Yes |
AdminPhone | string | Applicant's Phone | Yes |
AdminEmail | string | Applicant's Email | Yes |
AdminTitle | string | Applicant's Position | Yes |
DVAuthMethod | string | Domain Validation Certificate Type | Yes |
CompanyPhone | string | Company Contact Number | No |
CompanyPostalCode | string | Company Zip Code | No |
CompanyType | string | Institution Type | No |
CompanyCodeType | string | Organization Code Type | No |
CompanyCode | string | Organization Code | No |
CSR | string | Copied csr (Required when CSROnline is 0) | No |
CSREncryptAlgo | string | CSR Encryption Algorithm (Required when CSROnline is 1) | No |
CSRKeyParameter | string | Key Pair Parameters (Required when CSROnline is 1) | 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=ComplementCSRInfo
&CertificateID=8
&CertificateName=SecureSiteProEV
&ValidityPeriod=2
&CsrEncryptAlgo=ECDSA
&Domains=PeJsuDRD
&CsrKeyParameter=prime256v1
&OrganizationName=DUThgCax
&AddressLine=POhfmibL
&OrgRegion=OOKnBtlT
&City=OnTwomyx
&Country=uylWlIZi
&OrgPhone=JwOiDiJH
&PostalCode=FSfpwLoa
&AdminName=RiQBMoxy
&AdminPhone=NOLTPRuX
&AdminEmail=QLnKUWIl
&AdminTitle=cgnxcmPX
&Division=QqbNMIkT
&DVAuthMethod=DNS
&NewProperty=XJqFOYWs
&CompanyType=tDRakRYj
&CompanyCodeType=JbPNyrmA
&CompanyCode=XhnPAjzK
&AdminFirstName=zVCdeJUB
&AdminLastName=skDfHQtt
&AdminFirstName=VmNakDAe
&AdminLastName=LYWLvnsE
Response Example
{
"Action": "ComplementCSRInfoResponse",
"ApplyTime": 5,
"AuthMethod": "DNS",
"Auths": [
{
"AppName": "aBnsVqxQ"
}
],
"CN": "IiLtCrBm",
"CertificateState": "HYNPXWjV",
"RetCode": 0
}