Skip to main content

2.10 Renew SSL Subscription

2.10.1 API Information

Test Environment
Production environmenthttps://portal.racent.com/ssl/renew
Request methodPOST
content-typemultipart/form-data
DescriptionThis interface is used to renew SSL subscriptions. Renewal is only allowed for SSL subscriptions that have been issued and will expire within 30 days.

2.10.2 Parameter Definition

Parameter NameParameter TypeRequiredDescription
api_tokenStringYIdentity credential. Please contact Racent technical support to generate a token.
renewIdStringYRacent certificate ID
yearsIntYRenewal period (currently only supports 1, 2, 3, 4, 5), subject to the specific product.
refIdStringNThe unique customer order number provided by the customer
verificationPicFileNAlternative verification material. Used for organization validation. Supports .jpg/.jpeg/.png/.gif/.bmp/.rar/.zip/.pdf formats, with a maximum file size of 2MB.
domainVerificationPicFileNThis field is Y when the Domain Control Validation method is VERIFY_DOCUMENT. Used for Domain Control Validation (DCV) (currently only supported by CFCA).
paramsStringYOrder information, described in detail as follows
csrStringNIf this parameter is left empty, a CSR will be generated for you and the private key will be saved.
privateKeyStringNPrivate key.
serverStringNServer.
Applies only to SSL certificates. The parameter value is Y for SSL certificates, and N for other product types. If this parameter is not required, use "other" by default.
orgCheckIntNValue is 0 or 1. When the value is 1, all organizations under your account will be retrieved based on the organization information you submit; if a matching organization exists, the associated information of that existing organization will be used, and if no match exists, the submitted information will be saved as a new organization. When the value is 0, organization information will not be saved.
duplicateOrgCheckIntNValue is 0 or 1. This parameter currently applies only to Digicert SSL certificates. It is used to determine whether to reuse previously validated organization and domain information. When the value is 1, the information will be reused. When the value is 0, new records will be created. The default value is 1.
uniqueValueStringNOnly relevant to Sectigo products. 1-20 characters (a-z A-Z 0-9) for distributors to independently generate verification values.
dcvMethodStringNSet the Domain Control Validation (DCV) method uniformly for certificate requests.
Must be one of the following four methods:
EMAIL (Email validation)
HTTP_CSR_HASH (File validation)
CNAME_CSR_HASH (DNS validation)
HTTPS_CSR_HASH (HTTPS file validation)
VERIFY_DOCUMENT (Domain certificate proof, only supported for CFCA)
This field is required (Y) for CFCA.
domainInfoStringNDomain information, only relevant to SSL certificates. This parameter is required (Y) for SSL certificates and not required (N) for other certificate types.
This field is not required (N) for CFCA.
Example:
[
{ "dcvEmail": "admin@xxx.com",
"dcvMethod": "EMAIL",
"domainName": "www.xxx.com"
},
{
"dcvEmail": "admin@aaa.com",
"dcvMethod": "EMAIL",
"domainName": "aaa.com"
},
"dcvEmail": "admin@racent.com",
"dcvMethod": "EMAIL",
"domainName": "racent.com"
}
]
The detailed description is as follows:
dcvMethodStringNDomain validation method.
Must be one of the following four methods:
EMAIL (Email validation)
HTTP_CSR_HASH (File validation)
CNAME_CSR_HASH (DNS validation)
HTTPS_CSR_HASH (HTTPS file validation)
dcvEmailStringNDomain validation email. This field is required (Y) when the validation method is EMAIL.
domainNameStringNDomain name
organizationInfoStringNCompany information. This parameter is set to Y when ordering products that require enterprise validation.
This parameter is N for CFCA.
Example:
{
"organizationCity": "上海",
"organizationName": "某公司",
"organizationMobile": "18111111111",
"organizationAddress": "上海市路",
"organizationCountry": "CN",
"organizationPostCode": "401320"
}"
organizationCityStringNCity where the company is located.
organizationNameStringNCompany name.
organizationMobileStringNCompany phone number.
organizationAddressStringNCompany address.
organizationCountryStringNCountry where the company is located (two-letter code in the ISO 3166-1 standard).
organizationPostCodeStringNPostal code of the company's location.
AdministratorStringYAdministrator information and contact person. This parameter is used as request information when applying for code signing, email signing, or document signing certificates. In addition, if CSR is set to N, this information will be used as CSR generation information.
This field is N for CFCA.
{
"job": "General Manager Office",
"city": "Shanghai",
"email": "xx@yy.com",
"state": "Shanghai",
"mobile": "18111111111",
"address": "Shanghai",
"country": "CN",
"lastName": "zhang",
"postCode": "401320",
"firstName": "nick",
"organation": "Certain Company"
}"
jobStringYPosition of the administrator.
cityStringYCity where the administrator is located.
emailStringYEmail address of the administrator.
stateStringYProvince or state where the administrator is located.
mobileStringYContact phone number of the administrator.
addressStringYContact address of the administrator.
countryStringYThe country of the administrator (two-letter code as specified in the ISO 3166-1 standard).
lastNameStringYThe last name of the administrator.
postCodeStringYThe postal code of the administrator's location.
firstNameStringYAdministrator's first name.
organationStringYAdministrator's company name.
financeStringOnly relevant for SSL certificates.
Financial contact information. This can be the same as the administrator information. This parameter is required (Y) when the ordered product is not a DV type.
This field is not required (N) for CFCA.
{
"job": "Finance Department",
"city": "Shanghai",
"email": "xx@yy.com",
"state": "Shanghai",
"mobile": "18111111111",
"address": "Shanghai",
"country": "CN",
"lastName": "zhang",
"postCode": "401320",
"firstName": "nick",
"organation": "某公司"
}"
jobStringNFinance officer position.
cityStringNCity where the finance officer is located.
emailStringNEmail address of the finance officer.
stateStringNProvince or state where the financial officer is located.
mobileStringNContact information of the financial officer.
addressStringNContact address of the financial officer.
countryStringNCountry of the finance officer (two-letter code defined in ISO 3166-1 standard).
lastNameStringNLast name of the finance officer.
postCodeStringNPostal code of the finance officer's location.
firstNameStringNName of the finance officer.
organationStringNCompany of the finance officer.
techStringNRelevant only to SSL certificates.
Information of the technical contact. This parameter is Y when the ordered product is not of DV type.
This parameter is N for CFCA.
{
"job": "Technical Department","city": "Shanghai",
"email": "xx@yy.com",
"state": "Shanghai",
"mobile": "18111111111",
"address": "Shanghai",
"country": "CN",
"lastName": "zhang",
"postCode": "401320",
"firstName": "nick",
"organation": "A Company"
}"
jobStringNTechnician's job title.
cityStringNCity where the technician is located.
emailStringNTechnician's email address.
stateStringNProvince or state where the technician is located.
mobileStringNContact information of the technician.
addressStringNContact address of the technician.
countryStringNCountry where the technician is located (two-letter code per ISO 3166-1 standard).
lastNameStringNLast name of the technician.
postCodeStringNPostal code of the technician's location.
firstNameStringNName of the technician.
organationStringNCompany of the technician.

Function Response

ParameterTypeRequiredDescription
codeIntYReturn status. For detailed explanations, see Appendix 3.1.
errorsObject or StringNSpecific error message when the return status indicates an error.
dataObjectNThis parameter is present (Y) when the return status indicates success. Specific descriptions are as follows:
certIdStringNRacent certificate ID. Please keep it properly, as this parameter is the unique credential for the Racent instance.
vendorIdStringNCA order number.
vendorCertIdStringNCA certificate number.
DCVfileNameStringNFile validation file name
DCVfileContentStringNFile validation file content
DCVdnsHostStringNDNS validation host value
DCVdnsValueStringNDNS validation record value
DCVdnsTypeStringNDNS validation record type
DCVfilePathStringNFile validation file path
dcvInfoObjectNThis item is Y when the validation value of each domain in the certificate request is different
Each item is of type Object, and the object name of each item is the requested domain, for example: racent.com. Details of each item are as follows:
DCVfileNameStringNFile validation file content
DCVfileContentStringNFile validation file content
DCVdnsHostStringNDNS validation host value
DCVdnsValueStringNDNS validation record value
DCVdnsTypeStringNDNS validation record type
DCVfilePathStringNFile path for file-based Domain Control Validation (DCV)