Skip to main content

2.21 Modify Application Information

2.21.1 Api Information

Test environment
Production environmenthttps://portal.racent.com/ssl/alter
Request methodPOST
content-typemultipart/form-data
DescriptionThis interface is only used to modify application information when a CFCA certificate request fails.

2.21.2 Parameter Definition

Parameter nameParameter typeRequiredDescription
api_tokenStringYIdentity credential; contact Racent technical support to generate a token.
certIdStringYRacent certificate ID
refIdStringNUnique customer order number provided by the customer
verificationPicFileNAlternative verification material. Used for organization validation, supporting .jpg/.jpeg/.png/.gif/.bmp/.rar/.zip formats, with a file size no larger than 2MB.
domainVerificationPicFileNThis field is required (Y) when the domain verification method is set to VERIFY_DOCUMENT. It is used for Domain Control Validation (DCV) (currently only supported by CFCA).
paramsStringYOrder information, described in detail as follows
csrStringNWhen this parameter is empty, a CSR will be generated for you and the private key will be saved.
privateKeyStringNPrivate key.
serverStringNServer. This parameter is only relevant to SSL certificates. The parameter value is Y for SSL certificates, and N for other product types. If this parameter is not required, use the default value "other".
orgCheckIntNThe value is 0 or 1. When the value is 1, the system will retrieve all organizations under your account based on the organization information you submitted. If a matching organization exists, the associated information of the existing organization will be used; 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.
duplicateOrgCheckIntNThe value is 0 or 1. This parameter currently only applies to Digicert SSL certificates. It is used to determine whether to reuse previously validated organization and domain information. When the value is 1, existing validated information is reused. When the value is 0, new information is created. The default value is 1.
dcvMethodStringNUniformly set the validation method for the domain in the certificate request.
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 by CFCA)
This field is required (Y) for CFCA.
domainInfoStringNDomain information, applicable only to SSL certificates. The parameter is Y for SSL certificates and N for other product types.
The total number of standard domains and wildcard domains cannot exceed the respective purchased quotas for standard domains and wildcard domains.
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"
}
]
Detailed descriptions are as follows:
dcvMethodStringNDomain Control Validation (DCV) 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)
This field is Y when the parent-level dcvMethod does not exist.
If the parent-level dcvMethod exists and this field is also specified, the parent-level dcvMethod will take precedence.
dcvEmailStringNDomain Control Validation (DCV) email address.
Default values when this field is N are as follows:
racent.com : admin@racent.com
www.racent.com : admin@racent.com
*.racent.com : admin@racent.com
domainNameStringNDomain name
organizationInfoStringNCompany information. This parameter is Y when ordering products that require enterprise validation. The example is as follows:
{
"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 per the ISO 3166-1 standard).
organizationPostCodeStringNPostal code of the company's location.
organizationRegNumbeStringNCompany registration number. This field is required (Y) for CFCA.
idTypeStringNCompany certificate type. This field is mandatory (Y) for CFCA.
Available values:
TYDMZ: Unified Social Credit Code
OTHERS: Other
AdministratorStringYAdministrator information and contact. This parameter is used as application information when applying for code signing, email signing, or document signing certificates. In addition, if csr is N, this information is used for CSR generation.
{
"job": "General Manager's Office",
"city": "Shanghai",
"email": "xx@yy.com",
"state": "Shanghai",
"mobile": "18111111111",
"address": "Shanghai",
"country": "CN",
"lastName": "zhang",
"postCode": "401320",
"firstName": "nick",
"organation": "Company Name"
}"
jobStringYAdministrator job title.
cityStringYThe city where the administrator is located.
emailStringYThe email address of the administrator.
stateStringYThe province or state where the administrator is located.
mobileStringYAdministrator contact number.
addressStringYAdministrator contact address.
countryStringYCountry where the administrator is located (two-letter code in ISO 3166-1 standard).
lastNameStringYThe administrator's last name.
postCodeStringYThe postal code of the administrator's location.
firstNameStringYThe administrator's first name.
organationStringYName of the administrator's company.
idTypeStringNID type. This field is required (Y) for CFCA.
Values are as follows:
SFZ: ID card
HZ: Passport
idNumberStringNID number. This field is required (Y) for CFCA.
financeStringApplies only to SSL certificates.
Finance staff information. Can be the same as administrator information. This parameter is required (Y) when the ordered product is not of DV type.
{
"job": "Finance Department",
"city": "Shanghai",
"email": "xx@yy.com",
"state": "Shanghai",
"mobile": "18111111111",
"address": "Shanghai",
"country": "CN",
"lastName": "zhang",
"postCode": "401320",
"firstName": "nick",
"organation": "Some Company"
}"
jobStringNPosition of the finance staff member.
cityStringNCity where the finance staff member is located.
emailStringNEmail address of the finance staff.
stateStringNProvince or state where the finance staff is located.
mobileStringNContact number of the finance staff.
addressStringNContact address of the finance staff.
countryStringNCountry where the finance staff is located (two-letter code in the ISO 3166-1 standard).
lastNameStringNLast name of the finance staff.
postCodeStringNPostal code of the financial officer's location.
firstNameStringNFirst name of the financial officer.
organationStringNCompany of the financial officer.
idTypeStringNID type. This field is Y for CFCA.
Values are as follows:
SFZ: ID Card
HZ: Passport
idNumberStringNID number. This field is Y for CFCA.
techStringNRelated to SSL certificates only.
Technical contact information. This parameter is Y when the ordered product is not of DV type.
{
"job": "技术部","city": "上海市",
"email": "xx@yy.com",
"state": "上海市",
"mobile": "18111111111",
"address": "上海市",
"country": "CN",
"lastName": "zhang",
"postCode": "401320",
"firstName": "nick",
"organation": "某公司"
}"
jobStringNTechnician position.
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.
countryStringNThe country where the technician is located (two-letter code according to the ISO 3166-1 standard).
lastNameStringNThe technician's last name.
postCodeStringNThe postal code of the technician's location.
firstNameStringNName of the technician.
organationStringNCompany of the technician.
idTypeStringNID type. This field is required (Y) for CFCA.
Possible values:
SFZ: National ID card
HZ: Passport
idNumberStringNID number. This field is required (Y) for CFCA.

Function Return

codeIntYReturn status. For detailed explanations, see Appendix 3.1.
errorsObject or StringNSpecific error information when the return status is error.
dataObjectNThis parameter is Y when the return status is successful. The specific description is 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 values differ for each domain name in the certificate request
The type of each entry is Object, and the object name of each entry is the requested domain name, for example: racent.com. Details of each entry are as follows:
DCVfileNameStringNFile validation file content
DCVfileContentStringNFile validation file content
DCVdnsHostStringNDNS validation host value
DCVdnsValueStringNDNS validation record value
DCVdnsTypeStringNDNS validation record type
DCVfilePathStringNFile validation file path
failReasonObjectNThis field is returned when Racent fails to submit a certificate request to the CA and the specific failure reason can be identified.
dataReasonsArrayNData reason
keyStringNItem
reasonStringNReason
sysReasonStringNSystem reason