AutoSSL in cPanel requests a free certificate from Let’s Encrypt for every domain on the account, but the certificate authority only issues it after confirming that the domain is controlled by this server. That check is called DCV (Domain Control Validation) and works either by fetching a file from the site over HTTP or by looking up a DNS record. When it fails, the site keeps the server’s default certificate and visitors see Your connection is not private.
Where to find the reason
In cPanel, open Security » SSL/TLS Status. Each name shows its status, and failed names include a DCV message explaining why: for example that the domain does not resolve to any IPv4 addresses on the internet, or that it resolves to an IP address other than the server’s.
Common causes
- DNS doesn’t point to the server yet: the domain is new, the nameserver change is still propagating, or the A record points to an old server.
- No record for www: there’s no A or CNAME record for
www, so it’s left out of the certificate. - A CAA record blocks Let’s Encrypt: if the domain has a CAA record that doesn’t list
letsencrypt.org, the request is refused. - A redirect or security rule hides the validation file: an
.htaccessrule redirects everything, or a security plugin blocks/.well-known/. - Cloudflare’s proxy is on, so the validation request reaches a different server.
- Too many failed attempts: Let’s Encrypt limits repeated failures, so if you’ve retried many times, wait an hour before trying again.
How to fix it
1. Check DNS
Use the DNS lookup tool to confirm that the A record for the domain and for www returns the same server IP shown in cPanel. If you changed nameservers recently, wait for propagation.
2. Check for a CAA record
If a CAA record exists, add one that allows Let’s Encrypt in Domains » Zone Editor (or at your external DNS provider):
example.com. CAA 0 issue "letsencrypt.org"
If the domain has no CAA records at all, this isn’t the cause: no CAA record means any authority may issue.
3. Exclude the validation path from redirects
If .htaccess redirects to another domain or contains security rules, add this condition before the redirect rule:
RewriteCond %{REQUEST_URI} !^/\.well-known/
Then open http://example.com/.well-known/ in a browser and make sure it doesn’t send you elsewhere.
4. Run AutoSSL again
Go back to SSL/TLS Status, click Run AutoSSL, refresh after a few minutes and confirm the status is now valid.
5. Verify the site
Open https://example.com and https://www.example.com in a private window and check that the certificate is from Let’s Encrypt and covers both names.
Prevention
- Point DNS to the server well before launch day.
- If you add a CAA record for another authority, include Let’s Encrypt too.
- Make every redirect rule skip
/.well-known/.
On ArabyHost
AutoSSL issues a free Let’s Encrypt certificate automatically once the domain’s DNS points to the server, and renews it automatically. The two most common failure reasons here are DNS not pointing to the server yet and a CAA record blocking Let’s Encrypt. Point the domain to ns1.arabicode.com and ns2.arabicode.com, wait for propagation (up to 24-48 hours), then open cPanel with one click from the Araby Panel and run AutoSSL. The full walkthrough is in the free SSL certificate guide.
FAQ
How long after connecting a domain does AutoSSL work?
AutoSSL works as soon as the domain points to the server in public DNS. After a nameserver change, propagation can take up to 24-48 hours; the certificate is then issued on the next run or when you click Run AutoSSL.
AutoSSL failed only for webmail, cpanel and similar names. Is that a problem?
Usually not. If those service subdomains have no DNS records pointing to the server, AutoSSL leaves them out and still issues the certificate for the main domain and www.
Does AutoSSL work if the domain is behind Cloudflare?
Validation can fail while the proxy is on, because the request goes through Cloudflare. Pause the proxy (grey cloud), run AutoSSL, then turn it back on and set Cloudflare SSL to Full (strict).