Skip to main content

2.5 Obtain File Validation Information

2.5.1 API Information

Environment
Productionhttps://portal.racent.com/ssl/validatefile
Request MethodPOST
content-typemultipart/form-data
DescriptionThis interface is used to obtain the domain validation file. It returns the relevant file on success, and the corresponding error code on failure. For error codes, see Appendix 3.1.

2.5.2 Parameter Definition

Parameter NameData TypeRequiredDescription
api_tokenStringYIdentity credential. To generate a token, please contact Racent technical support.
certIdStringYThe certId (certificate ID) returned by the order interface above.

Function Return

Parameter NameData TypeRequiredDescription
codeIntYReturn status. For detailed explanations, see Appendix 3.1.
dataObjectNThis parameter is Y when the return status is successful. The detailed description is as follows:
DCVfileNameStringNFile validation file name
DCVfileContentStringNFile validation file content
DCVdnsHostStringNDNS validation host value
DCVdnsValueStringNDNS validation record value
DCVdnsTypeStringNDNS validation record type
DCVfilePathStringNFile validation file path
dcvInfoObjectNWhen the validation value differs for each domain in the certificate request, this field is set to Y
Each entry is of type Object, with the object name being the applied domain, for example: racent.com. Details for each entry are as follows:
DCVfileNameStringNContent of the file validation file
DCVfileContentStringNContent of the file validation file
DCVdnsHostStringNHost value for DNS validation
DCVdnsValueStringNRecord value for DNS validation
DCVdnsTypeStringNRecord type for DNS validation
DCVfilePathStringNPath of the file validation file