So the way to make this work is to upload a text file into a protected folder on my website and write a TXT record in DNS to point to this text file correct?
The contents of the text file must be this format: text=NQz0W5WAAX2qz_6jBVhlP01Wr_4aWjh1thCwPY2nyC or this format:
_cpanel-dcv-test-record=NQz0W5WAAX2qz_6jBVhlP01Wr_4aWjh1thCwPY2nyC
I first received this msg in Email:
AutoSSL would normally renew this certificate now, but 2 of the website’s secured domains just failed DCV. To provide you with more time to resolve these problems, AutoSSL will defer the renewal until Jul 9, 2019 at 12:00:00 AM UTC. After that time, AutoSSL will request a replacement certificate that excludes any domains that fail DCV. At the time of this notice, the certificate will expire in 6 days, 20 hours, 30 minutes, and 46 seconds.
followed by:
DNS DCV: The DNS query to “_cpanel-dcv-test-record.xxx.com.sg” for the DCV challenge returned no “TXT” record that matches the value “_cpanel-dcv-test-record=qnbRGFxyz2_Nul7_mmduqVUJVenQmU4hgnzMw6SyUdMSDfR6UdSMPtsUGAAZ1BIy”.; HTTP DCV: The system failed to fetch the DCV (Domain Control Validation) file at “http://xxx.com.sg/.well-known/pki-validation/B0BEC2FF23449894E9C15FC511781308.txt” because of an error: The system failed to send an HTTP (Hypertext Transfer Protocol) “GET” request to “http://xxx.com.sg/.well-known/pki-validation/B0BEC2FF23449894E9C15FC511781308.txt” because of an error: Could not connect to ‘xxx.com.sg:80’: Address family for hostname not supported
. The domain “xxx.com.sg” resolved to an IP address “xxx” that does not exist on this server.
so, my solution is to create a TXT record in Cloudflare DNS, with name “_cpanel-dcv-test-record”
and value “qnbRGFxyz2_Nul7_mmduqVUJVenQmU4hgnzMw6SyUdMSDfR6UdSMPtsUGAAZ1BIy”
and upload a text file B0BEC2FF23449894E9C15FC511781308.txt onto my Webserver
with content of file: _cpanel-dcv-test-record=qnbRGFxyz2_Nul7_mmduqVUJVenQmU4hgnzMw6SyUdMSDfR6UdSMPtsUGAAZ1BIy
My understanding is the when click on AutoSSL button in cPanel, this will prompt cPanel to look for a TXT record in DNS that is _cpanel-dcv-test-record.cavemen.com.sg
cPanel will read the contents of this file and compare that code inside with a Text file in: https://cavemen.com.sg/.well-known/pki-validation/ folder. If the code matches, it will renew the SSL Cert.
Well, there is a TXT record with that name and the value test=A7UmuSqQFqbg4wDuIPSQoFNQz0W5WAAX2qz_6jBVhlP01Wr_4aWjh1thCwPY2nyC. Should there maybe not be that “test” prefix?
Also, the URL in question works. This is probably a question for AutoSSL in this case.