tencent cloud

SSL Certificates

Release Notes
Announcements
Notice on price adjustment of DigiCert and its affiliated brands'SSL certificates​
Price Change to DigiCert SSL Certificates
TrustAsia Root Certificate Update
Domain Validation Policy Update
SSL Certificate Service Console
Multi-Year SSL Certificate and Automatic Review
Notice on Stopping the Issuance of 2-Year SSL Certificates by CAs Starting from September 1, 2020
Announcement on Stop Using the Symantec SSL Certificate Name After 30 April 2020
Notice on Certificate Revocation Due to Private Key Compromises
Notice on Application Limits for DV SSL Certificates
Notice on Adjustment of Free SSL Certificates Policy
Let's Encrypt Root Certificate Expired on September 30, 2021
Product Introduction
Overview
Introduction to Tencent Cloud SSL Certificates
Strengths
Advantages of HTTPS
Browser Compatibility Test Report
Multi-Year SSL Certificate and Automatic Review Overview
SSL Certificate Security
Purchase Guide
Pricing
SSL Certificate Purchase Process
SSL Certificate Selection
Paid SSL Certificates Renewal
SSL Certificate Renewal Process
SSL Certificate Refund Process
Getting Started
Certificate Application
Information Submission Process for Paid SSL Certificates
Domain Ownership Validation
Domain Validation Method Selection
Automatic DNS Addition
DNS Validation
File Validation
Automatic DNS Validation
Automatic File Validation
Validation Result Troubleshooting Guide
Operation Guide
Domain Ownership Verification
Uploading Certificates
Secured Seal
CSR Management
Certificate Installation
Installing an SSL Certificate on a Tencent Cloud Service
Installation of International Standard Certificates
Selecting an Installation Type for an SSL Certificate
Certificate Management
Instructions on SSL Certificate Auto-Renewal
Certificate Hosting
Uploading (Hosting) an SSL Certificate
Reminding Reviewers to Review an SSL Certificate Application
Revoking an SSL Certificate
Deleting an SSL Certificate
Reissuing an SSL Certificate
Ignoring SSL Certificate Notifications
Customizing SSL Certificate Expiration Notifications
API Documentation
History
Introduction
API Category
Making API Requests
Certificate APIs
Certificate Renewal (Certificate ID Unchanged) APIs
CSR APIs
Data Types
Error Codes
Use Cases
Automatic Solution for Implementing and Issuing Multi-Year Certificates and Binding Resources
Apple ATS Server Configuration
Quickly Applying for a Free SSL Certificate via DNSPod
Enabling Tencent Cloud DDNS and Installing Free Certificates for Synology NAS
Batch Applying for and Downloading Free Certificates Using Python-based API Calls
Profile Management
Adding Organization Profile
Adding Administrator
Adding Domain
Troubleshooting
Domain Validation Failed
Domain Security Review Failed
Website Inaccessible After an SSL Certificate is Deployed
404 Error After the SSL Certificate is Deployed on IIS
“Your Connection is Not Secure” is Displayed After the SSL Certificate is Installed
Message Indicating Parsing Failure Is Displayed When a Certificate Is Uploaded
Automatic DNS Validation Failed for a Domain Hosted with www.west.cn
Host Name Field Cannot Be Edited in IIS Manager When Type Is Set to https
Message Indicating Intermediate Certificates Missing in Chain Is Displayed When a Free SSL Certificate Is Deployed on IIS
FAQs
SSL Certificate Selection
SSL Certificate Application
SSL Certificate Management
SSL Certificate Installation
SSL Certificate Region
SSL Certificate Review
SSL Certificate Taking Effect
SSL Certificate Billing and Purchase
SSL Certificate Validity Period
Related Agreement
SSL Service Level Agreement
Contact Us
Glossary

File Validation

PDF
Focus Mode
Font Size
Last updated: 2024-03-06 17:24:16

Overview

This document describes how to validate a domain when you apply for a certificate or add a domain in the SSL Certificate Service console and the domain validation mode is file validation.

Validation Rules

Domain validation rules

During file validation, pay attention to the following:
Note:
Due to changes of the policies for SSL certificate domain validation, Tencent Cloud discontinued the file validation mode for wildcard certificates on November 21, 2021. For more information, see Domain Ownership Validation Policy Update.
If the domain that you apply for is a primary domain, www must also be validated. For example, if the domain applied for is tencent.com, www.tencent.com must also be validated.
If the domain that you apply for contains www, the domain name following www must also be validated, regardless of the domain levels. For example, if the target domain is www.a.tencent.com, a.tencent.com must also be validated.
If the domain that you apply for does not contain www and is not a primary domain, only the current domain needs to be validated. For example, if the target domain is cloud.tencent.com, only cloud.tencent.com needs to be validated.

CA validation rules

During DNS query, you must recursively query the authoritative NS server of each domain on the authoritative root server, and then query the corresponding A, AAAA, or CNAME records from the NS server.
If the DNS service supports DNSSEC, you must verify the signing information of the response data.
If the queried domain is an IP address, verify the content via IP access.
The standard HTTP/HTTPS default port must be adopted for access.
Up to two 301/302 redirections are supported. The redirection destination IP and the validated domain must be in the same primary domain.
In the final validation result, the status code 200 must be returned.
For HTTPS access, certificate errors can be ignored.

Directions

Step 1. View validation information

2. Select a certificate in the Validating state. On the Validate Domain page displayed, follow instructions on the page to complete validation within a specific period of time.

Step 2. Add a file record

1. Log in to the server and make sure that the domain name points to the server and the corresponding website is enabled.
Note:
If your DNS Service Provider is Tencent Cloud, for how to point the domain to your server, see A Record.
2. Create the specified file in the root directory of the website, including the file directory, name, and content.
Note:
The website root directory refers to the folder where you store the website programs on the server. Its name may be wwwroot, htdocs, public_html, or webroot.
Ensure that the website port is set to 80 or 443.
Example The root directory of your website is C:/inetpub/wwwroot. You can create a file as shown in the following table in the wwwroot folder.
File Directory
File Name
File Content
/.well-known/pki-validation
201908060**alzeo
The file content shown on the validation page. Example: A32CF****7EEtrust-provider.comTT**bu6
Note
The above is for reference only, and both the filename and content are random values. The values shown on your validation page shall prevail.
On Windows, you need to create a file and folder that begin with a dot by running commands. For example, to create a .well-known folder, open a command prompt window and execute the command mkdir .well-known to create it. See the following figure.


3. On the Validate Domain page, you can click View Domain Ownership Validation Status to check whether the configuration is successful.
Note:
Both HTTP and HTTPS are supported, and either can be accessed.
File verification does not support any redirection. Instead, it directly returns the status code 200 and file content.
For a domain name starting with "www", such as www.a.tencent.com, file validation is required for the domain name itself as well as a.tencent.com.
4. Wait for the CA's review. After the certificate is issued or the domain name information is approved, the file and directory can be cleared.

Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback