tencent cloud

All product documents
APIs
SubmitCertificateInformation
Last updated: 2025-02-27 16:21:57
SubmitCertificateInformation
Last updated: 2025-02-27 16:21:57

1. API Description

Domain name for API request: ssl.intl.tencentcloudapi.com.

Submit documentation for paid certificates; This API does not maintain new features, and you can use the new API to submit documentation. CertificateInfoSubmit.

A maximum of 10 requests can be initiated per second for this API.

We recommend you to use API Explorer
Try it
API Explorer provides a range of capabilities, including online call, signature authentication, SDK code generation, and API quick search. It enables you to view the request, response, and auto-generated examples.

2. Input Parameters

The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.

Parameter Name Required Type Description
Action Yes String Common Params. The value used for this API: SubmitCertificateInformation.
Version Yes String Common Params. The value used for this API: 2019-12-05.
Region No String Common Params. This parameter is not required for this API.
CertificateId Yes String Paid certificate id of materials to be submitted.
CsrType No String This field is required. Generation method of CSR, valid values are:
online: tencent cloud generates the CSR and private key based on the submitted parameter information and stores them encryptedly.
parse: generate the CSR and private key by itself, and apply for a certificate by uploading the CSR.
CsrContent No String The content of the uploaded csr.
If CsrType is parse, this field is required.
CertificateDomain No String The common name bound to the certificate. if a CSR is uploaded, the domain name must be consistent with the common name resolved from the CSR.
DomainList.N No Array of String Other domain names bound to the certificate. not required for single domain and wildcard domain certificates. required for multiple domain names and multiple wildcard domain names.
KeyPassword No String Private key password, which is currently only used for the password when generating jks and pfx format certificates; other formats of private key certificates are not encrypted.
OrganizationName No String This field is required. Company name.
OrganizationDivision No String This field is required. Department name.
OrganizationAddress No String This field is required. Company's detailed address.
OrganizationCountry No String This field is required.Country name such as CN.
OrganizationCity No String This field is required, which specifies the city where the company is located.
OrganizationRegion No String This field is required, specifying the province where the company is located.
PostalCode No String Postal code of the organization
PhoneAreaCode No String This field is required, the company's fixed-line phone area code.
PhoneNumber No String This field is required, the company's landline number.
VerifyType No String Certificate validation method. Validation types: DNS_AUTO = Automatic DNS validation (only supported for domains resolved by Tencent Cloud DNS with a normal resolution status), DNS = Manual DNS validation, FILE = File validation.
AdminFirstName No String This field is required, manager name.
AdminLastName No String This field is required, the manager's surname.
AdminPhoneNum No String This field is required, the manager's mobile phone number.
AdminEmail No String This field is required, the manager's email address.
AdminPosition No String This field is required, the manager position.
ContactFirstName No String This field is required, the contact person name.
ContactLastName No String This field is required, the contact person's surname.
ContactEmail No String This field is required, the contact person's email address.
ContactNumber No String This field is required, the contact person's mobile phone number.
ContactPosition No String This field is required, the contact person position.
IsDV No Boolean Indicates whether it is a dv certificate. default value is false.

3. Output Parameters

Parameter Name Type Description
CertificateId String Certificate ID
RequestId String The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.

4. Example

Example1 Payment Certificate Submission Materials

Input Example

POST / HTTP/1.1
Host: ssl.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: SubmitCertificateInformation
<Common request parameters>

{
    "CertificateId": "abcb1234",
    "CsrType": "online",
    "CertificateDomain": "*.test-dq342da.com",
    "OrganizationName": "Tencent",
    "OrganizationDivision": "Qcloud",
    OrganizationAddress: "No. 1000, Tencent Building, Nanshan District"
    "OrganizationCountry": "CN",
    "OrganizationCity": "Shenzhen"
    "OrganizationRegion": "Guangdong Province"
    "PhoneAreaCode": "0755",
    "PhoneNumber": "86013388",
    "AdminFirstName": "luke",
    "AdminLastName": "sky",
    "AdminPhoneNum": "12345678901",
    "AdminEmail": "test@tencent.com",
    "AdminPosition": "developer",
    "ContactFirstName": "luke",
    "ContactLastName": "sky",
    "ContactEmail": "test@tencent.com",
    "ContactNumber": "12345678901",
    "ContactPosition": "developer"
}

Output Example

{
    "Response": {
        "CertificateId": "heys**hsj",
        "RequestId": "9b397ac6-7d01-4fbc-8acc-52dd6ff0877b"
    }
}

Example2 Upload CSR For Pay-As-You-Go Certificate Submission

Input Example

POST / HTTP/1.1
Host: ssl.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: SubmitCertificateInformation
<Common request parameters>

{
    "CertificateId": "LrmeMvQ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\n-----END CERTIFICATE REQUEST-----\n",
    "CertificateDomain": "tencent.com",
    "OrganizationName": "Tencent Cloud SSL Certificate Test"
    "OrganizationDivision": "Qcloud",
    OrganizationAddress: "No. 1000, Tencent Building, Nanshan District"
    "OrganizationCountry": "CN",
    "OrganizationCity": "Shenzhen"
    "OrganizationRegion": "Guangdong Province"
    "PhoneAreaCode": "0755",
    "PhoneNumber": "86013388",
    "AdminFirstName": "luke",
    "AdminLastName": "sky",
    "AdminPhoneNum": "12345678901",
    "AdminEmail": "test@tencent.com",
    "AdminPosition": "developer",
    "ContactFirstName": "luke",
    "ContactLastName": "sky",
    "ContactEmail": "test@tencent.com",
    "ContactNumber": "12345678901",
    "ContactPosition": "developer"
}

Output Example

{
    "Response": {
        "CertificateId": "jhsy**jsj",
        "RequestId": "9b397ac6-7d01-4fbc-8acc-52dd6ff0877b"
    }
}

5. Developer Resources

SDK

TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.

Command Line Interface

6. Error Code

The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.

Error Code Description
FailedOperation.AuthError You do not have permission to perform this operation.
FailedOperation.CertificateNotFound The certificate does not exist.
FailedOperation.ExceedsFreeLimit The number of free certificates exceeds the maximum value.
FailedOperation.InvalidCertificateStatusCode The certificate status is incorrect.
FailedOperation.InvalidParam Incorrect parameters.
FailedOperation.NoProjectPermission You do not have the permission to operate on this project.
FailedOperation.NoRealNameAuth You have not completed the identity verification.
InternalError Internal error.
Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback

Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

7x24 Phone Support