tencent cloud

APIs

CheckFreeCertificateVerification

Baixar
Modo Foco
Tamanho da Fonte
Última atualização: 2026-11-25 17:00:10

1. API Description

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

This API is used to verify a free certificate and obtain the application result. If verification is passed, you can query the free certificate information for the corresponding domain through this API. If the application failed, this API will return the corresponding failure description.
After triggering the free certificate application API (https://www.tencentcloud.com/document/product/1552/90437?from_cn_redirect=1), you can check the free certificate application result through this API. Once the free certificate application is successful, you need to configure it through the domain certificate configuration API (https://www.tencentcloud.com/document/product/1552/80764?from_cn_redirect=1) to deploy the free certificate to the acceleration domain.

A maximum of 20 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: CheckFreeCertificateVerification.
Version Yes String Common Params. The value used for this API: 2022-09-01.
Region No String Common Params. This parameter is not required.
ZoneId Yes String Zone ID.
Domain Yes String Acceleration domain name, which is the domain name used for free certificate application (https://www.tencentcloud.com/document/product/1552/124807?from_cn_redirect=1).

3. Output Parameters

Parameter Name Type Description
CommonName String Domain name to which the certificate is issued when the free certificate application succeeds.
Note: A domain name can only be used to apply for one free certificate. If a free certificate has already been applied for a wildcard domain, its subdomains will match and use the wildcard certificate.
SignatureAlgorithm String Signature algorithm used by the free certificate when the application succeeds. Currently only support RSA 2048.
ExpireTime Timestamp ISO8601 Expiration time of the certificate after a free certificate application succeeds. The time is in Coordinated Universal Time (UTC), following the ISO 8601 date and time format.
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 Check the application result of a free certificate. Failed to apply for a free certificate.

This example shows you how to check whether a free certificate is applied for successfully after a free certificate application is triggered for the domain name (cc.xzone.cloud) under the site (ZoneId: zone-28v607hq8d3m).

Input Example

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

{
    "ZoneId": "zone-28v607hq8d3m",
    "Domain": "cc.xzone.cloud"
}

Output Example

{
    "Response": {
        "Error": {
            "Code": "ResourceUnavailable.RecordUnExpected",
            "Message": "Unable to detect the authentication value correctly. Check whether the current domain name has regional resolution or security policy interception configured."
        },
        "RequestId": "ed93f3cb-f35e-473f-b9f3-0d451b8b79c6"
    }
}

Example2 Check the application result of a free certificate. Successfully applied for a free certificate.

This example shows you how to check whether a free certificate is applied for successfully after a free certificate application is triggered for the domain name (aa.xzone.cloud) under the site (ZoneId: zone-28v607hq8d3m).

Input Example

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

{
    "ZoneId": "zone-28v607hq8d3m",
    "Domain": "aa.xzone.cloud"
}

Output Example

{
    "Response": {
        "RequestId": "dc1ba58b-4e4e-4a71-bed6-2b777c48d17e",
        "CommonName": "aa.xzone.cloud",
        "SignatureAlgorithm": "RSA 2048",
        "ExpireTime": "2025-07-31T07:06:57Z"
    }
}

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

There is no error code related to the API business logic. For other error codes, please see Common Error Codes.

Ajuda e Suporte

Esta página foi útil?

comentários