Which EV certificate domain verification method to choose? DNS verification vs. file verification comparison.
In the EV (Extended Validation) SSL certificate application process, after completing a series of tedious organizational identity verifications, including submitting the company's business license, telephone verification, and obtaining a confirmation letter stamp, the applicant faces a final technical choice: whether to verify domain ownership via DNS or file verification. This seemingly simple choice is far more complex than a simple "whichever is faster" decision; it involves a comprehensive weighing of existing infrastructure, operational habits, and potential risks. To understand the fundamental differences between these two verification methods, it's necessary to clarify their positions within the EV certificate application process.
Unlike DV certificates, which only require domain verification for issuance, EV certificates typically take 3 to 7 business days to issue. The majority of this time is spent on manual verification of the company's identity—including business registration information comparison, telephone follow-ups, and physical address verification. Only after the CA (Certificate Authority) completes these organizational-level verifications does the domain verification stage begin. At this point, the applicant faces two paths: DNS verification and file verification. In other words, regardless of the chosen domain verification method, the time spent on the most time-consuming part of the EV certificate process—the company identity verification—will not be affected.
DNS Verification:
From a technical perspective, the core operation of DNS verification is adding a TXT record to the domain name resolution management platform. The Certificate Authority (CA) verifies the record's existence through a public DNS query. This record typically contains a unique string generated by the CA, such as `_dnsauth` for the host record and a string of random characters for the record value. Because it operates completely independently of the web service, the verification process can be completed even if the target website has not yet been deployed, the server has not started its HTTP service, or even if ports 80 and 443 are closed. This "decoupling" characteristic makes DNS verification particularly suitable for projects in the construction phase that have not yet provided services to the public, or scenarios where existing business needs not be interrupted when certificates expire and need to be renewed.
In terms of operational complexity, DNS verification is generally considered more "one-stop"—after adding a resolution record, you only need to wait for the DNS cache to take effect; there's no need to access the server's file system or worry about website directory permission settings. However, its "trouble" lies in the fact that the effective time depends on the DNS service provider's caching strategy; with a high TTL value, it may take several hours for it to take effect globally.
From a risk management perspective, DNS verification is more favored by operations and maintenance personnel in production environments because it has no direct impact on production servers. You only need to operate through the domain management backend; you don't need to touch the server files for online business, and you don't need to worry about accidental damage to website content.
File Verification:
File verification requires the applicant to create a text file at a specific path in the domain's web root directory, typically /.well-known/pki-validation/. The filename and content are provided by the CA. The CA will access the file via HTTP or HTTPS to verify the content. This means the website must have already deployed web services, and the server needs to have ports 80 or 443 open for external access. Some cloud service providers' documentation specifically reminds users that if applying for an international brand certificate, it is also necessary to ensure that the domain name server can be accessed by networks outside of China, and if necessary, the CA's IP address should be added to the whitelist.
The advantage of file verification is that it takes effect almost instantly—the CA can access the file immediately after it is uploaded, without waiting for DNS propagation. However, its potential pitfalls are often underestimated: if the directory storing the verification file is inaccessible due to the website's unique architecture (such as using a reverse proxy or separating static resources), or if the server's access control settings cause the CA's requests to be blocked, troubleshooting can be extremely time-consuming.
File verification requires writing files to the web root directory. While this sounds simple, in high-security production environments, access permissions may be strictly limited, especially in large enterprises with change management processes. Uploading a file to the server temporarily for a certificate might require multiple levels of approval.
Another often overlooked difference is wildcard domain support. DNS verification inherently supports wildcard domain certificates (i.e., .example.com format) because a single TXT record is sufficient to prove control over the entire domain. File verification, on the other hand, is strictly bound to a specific single domain—you need to place a separate verification file for each subdomain, which is quite cumbersome when managing multiple subdomains.
Choice Recommendation: Which method is more suitable for you?
1. Prioritize DNS verification if your situation meets any of the following characteristics:
Don't want to mess with the server: Adding a DNS record is like changing a configuration, completely unaffected by the operation of the online website. Especially for production environments, this is a very reliable option.
If the website is still under development or the server has network restrictions: If the website is not yet online, or the server has firewall or access whitelist restrictions, DNS verification is the only feasible path.
If you are applying for a wildcard certificate: If your EV certificate needs to cover a wildcard domain like .example.com, you can only use DNS verification.
2. You can consider file verification if your situation meets the following characteristics:
The website is already running stably: Your website has been deployed, and ports 80 or 443 are accessible from the external network.
You have complete control over the server: You can easily upload files to a specified directory on the server via FTP, SSH, etc.
You are seeking the fastest verification speed: After the file is uploaded, the CA's system can immediately verify it by accessing the file, which is theoretically faster than waiting for DNS resolution to take effect globally.
It is important to note that regardless of the verification method chosen, they are merely "technical hurdles" in the EV certificate issuance process, not "trust hurdles." The reason EV certificates are called "Extended Validation" is because the core of the CA's comprehensive verification of a company's legal identity, physical address, business status, and authorization permissions—these aspects determine whether the company name is displayed in the browser's address bar and also determine the user's trust in the website. Domain verification only confirms "you have control over this domain," without involving corporate credit endorsement. Therefore, when choosing a verification method, it's unnecessary to over-interpret its connection to certificate security; it's purely a choice of operational convenience.
CN
EN