Support >
  About cybersecurity >
  What should I do if DNS verification and file verification conflict? How do I switch if I chose the wrong one?

What should I do if DNS verification and file verification conflict? How do I switch if I chose the wrong one?

Time : 2026-09-25 10:13:21
Edit : DNS.COM

  When applying for an SSL certificate, the system usually asks you to select a "domain validation method." Many people make a quick selection only to find that validation fails repeatedly or conflicts with their website's existing configuration. This leads to a frustrating dilemma: Can the validation method be changed? If so, how should the previous validation records be handled?

  The answer is clear: You *can* switch methods, but you must first withdraw the current application and select the new method when resubmitting. You cannot simply modify the original order, nor can you use two different methods to validate the same domain simultaneously. Below, we explain the conflict scenarios, the switching process, and common pitfalls.

  First, let's clarify: Under what circumstances do "conflicts" occur?

  DNS validation and file validation essentially prove the same thing—that you have control over the domain. Normally, choosing one method suffices; there is no need to use both. However, certain scenarios can cause them to clash:

  Scenario 1: The website has 301 redirects or a reverse proxy enabled. This is the most common source of conflict. File validation requires the Certificate Authority (CA) to directly access the path `yourdomain.com/.well-known/pki-validation/xxx.txt` and receive an HTTP 200 status code. If your website redirects all HTTP requests to HTTPS (via 301 redirects) or uses a reverse proxy or CDN, the CA's request might be intercepted or redirected elsewhere, causing file validation to fail. If you then wish to switch to DNS validation, you will find that the current order is still locked to the file validation method, requiring you to withdraw it first.

  Scenario 2: Domain DNS record conflicts. DNS validation requires adding a TXT or CNAME record to your domain's DNS settings. If a record (such as a CNAME) already exists for the host record `_dnsauth` or `_acme-challenge`, adding a TXT record will create a conflict. DNS protocols dictate that CNAME and TXT records cannot coexist under the same host record. In this case, you might need to switch to file validation, but you will again face the issue of the current order using the wrong validation method.

  Scenario 3: Server port restrictions. File validation requires the server to open port 80 or 443 to allow access by the CA. If your server only has port 8080 open or enforces strict IP whitelisting, file-based validation will not work. DNS validation does not rely on specific server ports, making it a more suitable choice.

  Standard Procedure for Changing Validation Methods

  Regardless of whether you use Alibaba Cloud, Huawei Cloud, or Tencent Cloud, the logic for changing the validation method remains the same: withdraw the current application → the certificate reverts to "Pending Application" status → resubmit the application → select the new validation method.

  General Operational Workflow

  When the certificate status is "Pending Domain Validation" and you wish to change the validation method, you must first withdraw the certificate application:

  Log in to the cloud certificate management service console.

  On the SSL certificate list page, locate the target certificate and click "Withdraw Application" in the "Actions" column.

  Confirm the action in the pop-up dialog; the page will indicate that the application cancellation was successful.

  The certificate status will change to "CA Review (Withdrawal Requested)." Once the service approves the withdrawal, the status will switch to "Pending Application."

  Resubmit the certificate application while in the "Pending Application" state. During submission, select your desired new method in the domain validation section (e.g., switching from file validation to DNS validation).

  Complete the validation process according to the instructions for the new method.

  A Key Reminder

  Not all certificate types support switching validation methods at will. IP-only certificates support only file validation and cannot be modified; certain DV certificates (such as GeoTrust entry-level or DigiCert free certificates) support only DNS validation and also cannot be modified. Before applying, verify which validation methods your certificate type supports to avoid withdrawing the application only to discover that a switch is not possible.

  What happens to old validation records after withdrawal and resubmission?

  This is a step many people overlook. After withdrawing the application, the DNS records added or files uploaded for the previous validation attempt will not automatically disappear. DNS Records: Any TXT or CNAME records added previously will remain in your DNS configuration. If you select a different verification method upon resubmission (e.g., switching to file-based verification), the old record becomes obsolete. It is recommended to manually delete it from your DNS dashboard after the new certificate is issued to prevent residual records from interfering with future operations.

  Verification Files: Similarly, it is advisable to delete any files previously uploaded to the `/.well-known/pki-validation/` directory after the certificate is issued. While these files pose no security threat, keeping them serves no purpose and could cause confusion if you use file-based verification again in the future.

  A Useful Tip: If you use DNS verification again upon resubmission but the CA provides a different verification string, there is no need to delete the old record and add a new one; simply update the value of the existing record to the new one. This approach is faster and avoids the risk of CNAME conflicts.

  What if the "Revoke" button is disabled?

  On some platforms, the "Revoke" button appears greyed out and unclickable while the certificate status is "Pending CA Review." This occurs because the CA has already initiated the review process, and you must wait for the current request to be processed.

  Waiting Time: This typically ranges from a few minutes to several hours. If you are still unable to revoke the request after half a day, contact the certificate provider's technical support team and ask them to revoke the order from the backend.

  An Alternative Solution: If the request cannot be revoked and verification continues to fail, consider applying for a certificate on a different platform. For instance, if your application on Alibaba Cloud fails, you could apply via Tencent Cloud using the correct verification method and manually deploy the resulting certificate to your server. You can simply ignore the old application and let it expire naturally. Although this method takes a bit more time, it bypasses the tedious "revoke-and-resubmit" process and can sometimes be faster overall.

  Summary: Conflicts between DNS verification and file-based verification essentially stem from a mismatch between the selected verification method and your website environment. The solution is straightforward: revoke the current application and switch to a different method when resubmitting. If file-based validation fails (due to CDN, redirects, or port restrictions), switch to DNS validation. If DNS validation fails (due to record conflicts or propagation delays), switch to file-based validation.

  Procedure: Withdraw the application → wait for the status to revert to "Pending Application" → resubmit and select the new method → ​​complete validation according to the new instructions. After withdrawal, manually remove the old DNS records or validation files once the certificate has been issued.

  Unless there are specific constraints, prioritize DNS validation when choosing a method. It does not rely on server ports or website configurations and is inherently immune to "interfering factors" such as CDNs, redirects, and reverse proxies, resulting in a much lower failure rate compared to file-based validation.

DNS Anna
DNS Amy
DNS Jade
DNS NOC
Title
Email Address
Type
Information
Code
Submit