HTTP
Last updated Apr 16, 2026 When you choose HTTP DCV, Cloudflare automatically adds a verification HTTP token to your domain.
Only use this method if your domain can tolerate a few minutes of downtime.
Note
If you encounter issues with HTTP DCV, refer to the troubleshooting guide.
Limitations
HTTP DCV is only available for proxied domains. It is possible to manually add the DCV token to the .well-known/pki-validation/ directory on your origin web server to pre-validate your certificates.
HTTP DCV validation does not work for wildcard certificates. If you want to use wildcard certificates, use TXT validation.
Based on your chosen certificate authority (CA), you may also not be able to use HTTP verification with advanced certificates.
Setup
Specify DCV method
If you want to use a Universal SSL certificate, you will need to edit the validation_method via the API and specify your chosen validation method.
Alternatively, you could order an advanced certificate via the API.
In either case, you would need to set a "validation_method":"http" parameter.
Review other Cloudflare settings
To make sure your domain does not accidentally block HTTP DCV, review your Cloudflare settings for common setup issues.
Complete DCV
Your HTTP token will be available for the certificate authority as soon as you finish your partial domain setup.
This means that you need to add a CNAME record to Cloudflare in your authoritative DNS and create proxied DNS records for your hostname within Cloudflare.
This process may involve a few minutes of downtime.
<details>
<summary>
What happens after you create your records
</summary>
Cloudflare contacts one of our certificate authority (CA) providers and asks them to issue certificates for the specified hostname. The CA will then inform Cloudflare that we need to demonstrate control of this hostname by returning a <code>$DCV_TOKEN</code> at a specified <code>$DCV_FILENAME</code>; both the token and the filename are randomly generated by the CA and not known to Cloudflare ahead of time.
For example, if you create a new custom hostname for <code>site.example.com</code>, the CA might ask us to return the value <code>ca3-38734555d85e4421beb4a3e6d1645fe6</code> for a request to <code>http://site.example.com/.well-known/pki-validation/ca3-39f423f095be4983922ca0365308612d.txt"</code>. As soon as we receive that value from the CA we make it accessible at our edge and ask the CA to confirm it is there so that they can complete validation and the certificate order.
</details>
To check whether your certificates have been validated and reissued:
- Dashboard: Find the certificate(s) on the Edge Certificates ↗︎ page and make sure that the Status is Active.
- API: Send a
GETrequest and confirm that your certificate(s) have"status": "active".
Renewal
Even if you manually handle DCV when issuing certificates in a partial DNS setup, at certificate renewal, Cloudflare will attempt to automatically perform DCV via HTTP.
If all of the following conditions are confirmed at the first attempt, the renewal happens automatically via HTTP.
- Hostnames are proxied.
- Hostnames on the certificate resolve to the IPs assigned to the zone.
- The certificate does not contain wildcards.
Note
To automatically renew certificates that do not meet the referred criteria, consider using Delegated DCV.
If the conditions are met but HTTP DCV fails successively, the process will fall back to TXT. This schedule varies according to the certificate validity period.
- 90-days certificates: after failing for 15 days
- 30-days certificates: after failing for 7 days
- 14-days certificates: after failing for 3 days
Was this helpful?
YesNo
On this page
{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/ssl/edge-certificates/changing-dcv-method/methods/http/#page","headline":"HTTP","description":"Validate domain control with an HTTP token on your origin.","url":"https://developers.cloudflare.com/ssl/edge-certificates/changing-dcv-method/methods/http/","inLanguage":"en","image":"https://developers.cloudflare.com/ssl/edge-certificates/changing-dcv-method/methods/http/og.png?v=7b8bee95e269dce3","dateModified":"2026-04-16","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}
description: Validate domain control with a TXT DNS record. title: TXT image: https://developers.cloudflare.com/ssl/edge-certificates/changing-dcv-method/methods/txt/og.png?v=efd5b32d4359385c
Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/ssl/llms.txt
Use this file to discover all available pages before exploring further.
Docs