cPanel AutoSSL Not Working? Fix 'Not Secure' Warnings
When cPanel AutoSSL stops issuing a certificate, the cause is almost always that validation cannot reach your site. Here is how to find which hostname fails and fix it.

Infrastructure & Support Team
On this page
If cPanel AutoSSL is not working, your browser shows "Not secure" and the certificate either never arrived or expired. The cause is almost always the same: the certificate authority could not prove that your domain belongs to this hosting account. That means a DNS record pointing elsewhere, a blocked or oddly redirected port 80, or a proxy in front of the site. Fix those in order, then re-run the check.
This guide walks through the order we would check things in, with the specific symptoms for each, so you stop guessing and start reading the actual error.
How AutoSSL validates your domain#
AutoSSL requests free domain-validated certificates for the hostnames on your account and renews them automatically. Before issuing, it has to prove control of each hostname. In practice that is a file check over HTTP: a small token is placed on your site and the authority fetches it. For Let's Encrypt style validation, that fetch happens on port 80, follows up to 10 redirects, and only accepts redirects to ports 80 or 443 (Let's Encrypt challenge types).
Two things follow from this. First, the domain must resolve publicly to the server that holds the token. Second, nothing between the internet and your account may block or rewrite the request. Almost every failure is one of those two broken.
Certificates are short lived by design. Let's Encrypt certificates last 90 days and the recommendation is to renew every 60 (Let's Encrypt FAQ). So a site that worked for months can "suddenly" show a warning: the quiet renewal failed weeks ago and the old certificate finally expired.
Step 1: Why is cPanel AutoSSL not working? Read the error#
Do not start by changing settings. In cPanel open SSL/TLS Status. The domains table shows each hostname, its certificate state (active, expiring soon, expired, unsecured) and any AutoSSL error logged for it, plus when AutoSSL last ran (cPanel docs). A "Has AutoSSL Problems" flag, for example, can mean a domain does not resolve to a public IPv4 address.
Note which hostnames are affected. If only mail.example.com and webmail.example.com fail while example.com is fine, you have a different problem from a total failure. If every hostname fails, look at DNS and your proxy first.
If you cannot see the logs or the page does not show enough detail, open a ticket and include the exact error text; see creating support tickets.
Step 2: Does the domain resolve to this server?#
This is the most common cause. Check from your own machine:
dig +short example.com A
dig +short www.example.com A
dig +short example.com NSThe A records must match the IP shown in your cPanel account. If the domain uses the hosting nameservers, the zone is managed on the server. If it uses external DNS, the records live at your DNS provider and must be edited there. If you also run game servers on a custom domain, our Minecraft SRV record guide shows a similar dig-based DNS check. Our DNS records guide and domain configuration page cover both setups.
Typical mistakes we see:
- The domain still points at the old host after a migration, so validation checks the wrong server.
wwwhas no record at all.- An AAAA (IPv6) record points at an old server while the A record is correct. Validators can prefer IPv6.
- Nameservers were changed recently and have not propagated.
Fix the record, wait for the TTL, confirm with dig, and only then re-run AutoSSL.
Step 3: Is port 80 reachable and not mangled?#
Test the validation path as a stranger would:
curl -I http://example.com/.well-known/acme-challenge/testYou expect a clean response such as 404 from your own server, not a timeout and not a redirect to a different domain. Common blockers:
- A WordPress security plugin or
.htaccessrule that denies requests to/.well-known/. - A forced HTTPS redirect that sends the request somewhere that does not serve the token. A plain redirect from HTTP to HTTPS on the same host is fine; redirects to another host or a login page are not.
- A firewall rule or country block that rejects the authority's servers.
- A "maintenance mode" or coming-soon plugin returning 403 for everything.
If you added rules to .htaccess, temporarily comment out the block that touches .well-known and test again.
Step 4: Is a proxy or CDN in the way?#
If DNS for the site goes through Cloudflare's orange-cloud proxy, the request reaches Cloudflare first, not your account. Depending on your SSL mode there, the validation file may never be reached. Two clean options:
- Switch the records to DNS-only (grey cloud) while AutoSSL issues, then turn the proxy back on.
- Keep the proxy and use Cloudflare's own certificate for visitors, but still ensure the origin has a valid certificate if you use Full (strict) mode.
If you see redirect loops after enabling HTTPS behind Cloudflare, the SSL mode is usually mismatched with what the origin serves. The same DNS-only trick applies to mail hostnames: mail records must not be proxied.
Step 5: Remove hostnames that cannot validate#
An AutoSSL certificate normally lists several names such as the bare domain, www, mail, webmail and cpanel. If one of them points somewhere else, or has no DNS at all, validation of that name fails. Depending on the version and settings, that can block the whole certificate.
Delete stale subdomains you no longer use, fix their DNS, or exclude them from AutoSSL in the SSL/TLS Status page. Then run the check again. For service subdomains such as webmail, confirm they resolve to the server with dig like in step 2.
Step 6: Re-run AutoSSL and verify#
On SSL/TLS Status, run the AutoSSL check for the account instead of waiting for the next scheduled run. Then confirm what a visitor sees:
echo | openssl s_client -connect example.com:443 -servername example.com 2>/dev/null | openssl x509 -noout -dates -subjectCheck the notAfter date is about 90 days away and the subject matches your domain. If you manage SSL by hand or need a custom certificate, see the SSL installation guide.
After the certificate works: fix mixed content#
A valid certificate does not always make the padlock return. If the page loads images, scripts or fonts over http://, browsers flag it as mixed content. On WordPress, set both Site Address and WordPress Address to https://, then replace old http:// URLs in the database with a search-replace tool and clear caches. Check the browser console; it names every insecure URL.
When to ask your host#
If DNS is correct, port 80 responds, no proxy interferes and AutoSSL still fails, the problem may be on the server side. On a managed cPanel hosting plan you can ask support to look at the AutoSSL log. Send the domain, the failing hostnames and the exact message from SSL/TLS Status, and say what you already checked. Contact options are on the contact and support page.
Quick checklist#
digshows the right A record, no stray AAAA, and correct nameservers.curl -I http://domain/.well-known/acme-challenge/testreturns a normal response from your server.- No proxy or firewall blocks the validation request.
- Dead subdomains are fixed or removed.
- AutoSSL check re-run,
opensslshows a fresh expiry date. - Mixed content cleaned up.
Work through that list top to bottom and most "Not secure" warnings disappear within an hour, mostly the time DNS needs to settle.
Frequently asked questions
Why is cPanel AutoSSL not working for my domain?
Usually the certificate authority cannot prove you control the domain. The domain points at a different IP than the server, port 80 is blocked or redirected oddly, or a proxy sits in front of the site and swallows the validation request.
How long does AutoSSL take after I change DNS?
It needs DNS to resolve to the server first, which can take from minutes to a few hours depending on TTL. After that, run an AutoSSL check from the SSL/TLS Status page instead of waiting for the next scheduled run.
Does one broken subdomain block my whole certificate?
It can. AutoSSL certificates cover several hostnames such as www, mail and webmail. A hostname that fails validation may stop the certificate from being renewed, so remove or fix dead hostnames.
Do I need to pay for SSL on cPanel hosting?
Not for a standard domain-validated certificate. AutoSSL issues free DV certificates. Paid certificates are only needed for things like organisation validation.
References
Drafted with AI assistance and checked against LordCloud's published product information. Spotted a mistake?Suggest an edit.



