Your cPanel SSL/TLS Status page says “The installed certificate does not cover this domain”, or a browser warns that the server “could not prove” it is shop.example.com. Either way, AutoSSL has left that name off the certificate. This article is for cPanel and WHM admins who need to find out why and get the name back on. Usually the rest of the site is fine: the main domain has a valid certificate and only one subdomain, addon domain or mail. name is missing. AutoSSL writes down a reason for every name it skips. Read that reason first, apply the one fix that matches it, run AutoSSL again and check the live certificate.
What you’ll accomplish
- See exactly which names the live certificate covers, and which one is missing.
- Read the reason AutoSSL recorded for that name, from WHM, from cPanel or from the command line.
- Match the reason to its cause: DNS, the
/.well-known/path, a proxy, an exclusion, CAA, a limit or a missing record. - Run a fresh AutoSSL check for one account and prove the name is now in the certificate.
Prerequisites
- Root SSH access to the server, or a WHM login with access to SSL/TLS » Manage AutoSSL. A cPanel user can do the cPanel-side checks but cannot read the server logs.
- cPanel and WHM version 118 or newer, with the default Let’s Encrypt AutoSSL provider. Older servers that still use the Sectigo-backed
cPanelprovider follow the same steps, but the limits differ. dig,curlandopensslon a machine outside the server, such as your laptop. Testing from the server itself can hide DNS and firewall problems.- The cPanel username that owns the domain. The examples use
exampleuser, the main domainexample.comand the missing nameshop.example.com.
How it works
AutoSSL builds one certificate per website (one virtual host, the web server’s entry for a site) and tries to fit every name of that site on it. Before it orders anything, it tests each name with domain control validation (DCV), a check that proves the server really answers for that name. Only names that pass go into the order. A name that fails is dropped and logged, and the certificate is still issued for the names that passed. That is why one name can be missing while everything else works.
For each name, the checks run in this order:
- Exclusion. A name the account owner excluded is skipped without a test.
- DNS. The name must resolve to an IP address on this server. A name with no A record, or one that points at another host, fails here.
- HTTP DCV. cPanel places a temporary file under
/.well-known/in the site’s document root and fetches it over plain HTTP, the way the certificate authority will. A404, a403, a timeout or the wrong content fails the test. - DNS DCV. If HTTP DCV fails, cPanel can prove control with a TXT record instead. It can only do this when the zone lives on this server or its DNS cluster. When DNS is hosted elsewhere, the log says “No local authority”.
- The certificate authority. Let’s Encrypt then validates the names itself. CAA records, a wrong IPv6 address and rate limits can still stop a name at this point.
AutoSSL also adds the www. version of each name automatically, but only if www. passes DCV on its own. If a site has more names than the provider allows on one certificate, AutoSSL keeps the most important ones. It ranks names already on the current certificate first, then the main domain with its www. and mail. names, then addon domains, then everything else.
Step-by-step
-
Check what the live certificate covers. From your own machine, ask the server for the certificate it serves for the missing name. Print its Subject Alternative Name (SAN) list, the field that holds every name the certificate is valid for.
-extneeds OpenSSL 1.1.1 or newer.echo | openssl s_client -connect shop.example.com:443 -servername shop.example.com 2>/dev/null \ | openssl x509 -noout -ext subjectAltNameExample output:
X509v3 Subject Alternative Name: DNS:example.com, DNS:mail.example.com, DNS:www.example.comIf
shop.example.comis not in the list, you have confirmed the problem. If the list shows names from a different site, the name may not point at this server at all; step 4 covers that. -
Read the reason AutoSSL logged. As root, ask WHM for the latest DCV problems on the account:
whmapi1 get_autossl_problems_for_user username=exampleuserExample output:
--- data: problems_by_domain: - domain: shop.example.com log: 2026-10-22T03:41:17.000Z problem: shop.example.com does not resolve to any IPv4 addresses on the internet. time: 2026-10-22T03:41:09.000Z metadata: command: get_autossl_problems_for_user reason: OK result: 1 version: 1The
problemline is the answer. An emptyproblems_by_domainlist means AutoSSL saw no DCV problem in its last run. In that case, jump to the exclusion and custom certificate checks in step 9.The same reason is visible in three other places. In WHM, open SSL/TLS » Manage AutoSSL, select the Logs tab, pick a run from the menu and click View Log. In cPanel, open Security » SSL/TLS Status: the Certificate Status column shows the logged error for each domain, and the Has AutoSSL Problems filter lists only the affected names. On disk, each run has its own folder under
/var/cpanel/logs/autossl/, kept in text and JSON for 30 days:ls -t /var/cpanel/logs/autossl/ | head -3 grep -rh 'shop.example.com' /var/cpanel/logs/autossl/2026-10-22T03:41:17.000Z/ | head -20Use the folder name from the
log:field above. The grep prints every line that mentions the name, including the DCV method that failed and the reason. -
Match the reason to its cause. The wording below is shortened from what cPanel logs, and it shifts a little between versions, so match on the meaning. Find the row that matches your
problemline.What the log says about the name Likely cause Fix does not resolve to any IPv4 addresses on the internet No A record, or a typo Step 4 resolved to an IP address that does not exist on this server DNS points at another host, a CDN or an old server Step 4 queried for a temporary file … 404 (Not Found) Wrong document root, or a rewrite eats the path Step 5 403, a redirect error or a timeout on the DCV file .htaccess, a firewall, a WAF or a proxy blocks the requestStep 5 DNS DCV: No local authority The zone is hosted elsewhere, so the TXT fallback cannot work Step 6 CAA mentioned in the log A CAA record does not allow the provider Step 7 exceeds the maximum number of domains Too many names on one site Step 8 Nothing logged for the name Excluded, or a custom certificate is installed Step 9 -
Fix where the name resolves. From outside the server, check both address families, then compare them with the account’s IP:
dig +short A shop.example.com dig +short AAAA shop.example.com whmapi1 accountsummary user=exampleuser | grep -w ipExample output:
198.51.100.24 2001:db8:40::12 ip: 203.0.113.10Here the A record points at another host. Correct it in WHM » DNS Functions » DNS Zone Manager (or at your outside DNS host) and wait out the old record’s TTL. Watch the AAAA record as well. When a name has both, Let’s Encrypt connects over IPv6 first, and only retries over IPv4 if the IPv6 connection times out. An AAAA record that points at another web server fails validation even when the A record is right. Fix the AAAA record or remove it. On a server behind NAT (network address translation),
accountsummaryshows the private address; compare DNS with the public address it maps to instead. -
Clear the path to
/.well-known/. Find the name’s document root, put a test file there and fetch it the way the certificate authority does:uapi --user=exampleuser DomainInfo single_domain_data domain=shop.example.com | grep documentroot mkdir -p /home/exampleuser/shop/.well-known/acme-challenge echo ok > /home/exampleuser/shop/.well-known/acme-challenge/probe.txt curl -si http://shop.example.com/.well-known/acme-challenge/probe.txt | head -5Use the
documentrootvalue from the first line in place of/home/exampleuser/shop. The success signal isHTTP/1.1 200 OKfollowed by the bodyok. If the test file belongs toroot, runchown -R exampleuser: /home/exampleuser/shop/.well-knownso the account still owns its folder. Anything else points at the blocker:-
404: the request reached a different document root. Check that the subdomain or addon domain still exists in cPanel and that its folder matches. -
403: an.htaccessdeny rule, ModSecurity or a security plugin refuses the path. Read/etc/apache2/logs/error_logfor the request. -
A
301or302to another host: a redirect sends the check away. Add this exemption at the top of the site’s.htaccess, before other rewrite rules:RewriteEngine On RewriteRule ^\.well-known/ - [L] -
A Cloudflare page, a
cf-mitigatedheader or a CDN error: the edge answers instead of your server. Follow AutoSSL DCV failures behind Cloudflare, which covers WAF skip rules and the DNS fallback problem. -
A timeout: port 80 is closed in the server firewall or upstream. HTTP DCV always uses port 80, even if the site redirects everything to HTTPS.
Delete
probe.txtwhen you are done. -
-
Handle “No local authority”. This line means DNS DCV could not help, because this server does not hold the authoritative zone. Confirm it:
dig +short NS example.comIf the nameservers belong to another provider, HTTP DCV is the only route for that name, so fix it with steps 4 and 5. The line is harmless on its own when HTTP DCV passes. It matters in two cases: a name that can never pass HTTP DCV, and wildcard names. With the Let’s Encrypt provider, AutoSSL only uses wildcards when DNS is hosted on this server or its DNS cluster.
-
Allow the provider in CAA. A CAA record (Certification Authority Authorization) lists the certificate authorities allowed to issue for a domain:
dig +short CAA example.comNo output means every authority is allowed. If records exist but none says
letsencrypt.org, add0 issue "letsencrypt.org"beside the existing ones. CAA records and AutoSSL explains inheritance and wildcard rules. -
Stay under the provider’s limits. Let’s Encrypt allows at most 100 names per certificate, and each
www.andmail.name counts. An alias (parked domain) adds three names: the domain, itswww.and itsmail.. When a site goes over, the log says so, and AutoSSL keeps the highest-ranked names. Lower-ranked subdomains drop off. Split the domains across separate sites (they can share a document root), or remove aliases nobody uses. Rate limits are different: Let’s Encrypt issues at most five certificates per week for the same set of names. Repeated forced runs can hit that. Stop retrying and wait for the window to reset. -
Check exclusions and custom certificates. When the log says nothing about the name, look for an exclusion first:
uapi --user=exampleuser SSL get_autossl_excluded_domains uapi --user=exampleuser SSL remove_autossl_excluded_domains domains=shop.example.comThe first command lists each excluded name as
excluded_domain. The second puts one name back in scope and returnsstatus: 1. In cPanel, the SSL/TLS Status page shows the same thing with the AutoSSL Statuses » Excluded filter. If no names are excluded, check whether AutoSSL is off for the whole account in WHM » Manage AutoSSL » Manage Users.Next, check whether someone installed a certificate by hand. AutoSSL does not replace certificates it did not issue. The exception is when Allow AutoSSL to replace invalid or expiring non-AutoSSL certificates is on, and even then only once that certificate is invalid or within three days of expiry. In cPanel, open SSL/TLS » Manage SSL Sites and look at the issuer for that site. If it is an old paid or self-signed certificate that no longer covers the site’s names, delete it there so AutoSSL can take over.
Service names follow the same rules.
cpanel.,webmail.,webdisk.andautodiscover.are added only if each one resolves to this server. Amail.name that points at an outside mail provider will always fail, which is correct and harmless. -
Run AutoSSL again for the account. As root:
/usr/local/cpanel/bin/autossl_check --user=exampleuserThe script runs in the foreground and prints the same per-name lines that go into the log. A cPanel user can click Run AutoSSL on the standalone SSL/TLS Status page, and
whmapi1 start_autossl_check_for_one_user username=exampleuserdoes the same in the background.
Validate it works
Run the SAN check from step 1 again for every name you expect on the certificate:
for n in example.com www.example.com shop.example.com; do
printf '%s: ' "$n"
echo | openssl s_client -connect "$n:443" -servername "$n" 2>/dev/null \
| openssl x509 -noout -ext subjectAltName | grep -c "DNS:$n\b"
done
Each line should end in 1. A 0 means that name is still missing; go back to step 2 and read the new reason. One exception: if the SAN list shows *.example.com, that wildcard already covers shop.example.com even though the loop prints 0. Then confirm AutoSSL itself is clean:
whmapi1 get_autossl_problems_for_user username=exampleuser
problems_by_domain should be empty, or list only names you chose to leave out, such as a mail. name hosted elsewhere. Last, open https://shop.example.com/ in a private browser window. It should load without a warning.
Troubleshooting
The new certificate is issued but the browser still shows the old one. The browser or a CDN is caching the earlier answer. Repeat the openssl check, which bypasses both. If openssl shows the new SAN list, clear the CDN cache or wait for it to expire.
Local DCV passes but Let’s Encrypt still rejects the name. Let’s Encrypt checks from its own network locations, which cPanel’s local test does not imitate. A firewall rule that only allows some countries, an IPv6 address that answers from another host, or a CAA record are the usual causes. Re-read step 4 for AAAA and step 7 for CAA.
The name keeps falling off after each renewal. Something re-creates the cause on a schedule: a deploy that overwrites .htaccess, a security plugin that rewrites rules, or DNS managed by someone else. Add the .well-known exemption to the template your deploy uses, not only to the live file.
AutoSSL logs nothing at all for the account. AutoSSL skips suspended accounts. Unsuspend the account first. Also confirm the AutoSSL feature is on in the account’s feature list.
When this is the wrong approach
If every account on the server failed in the same run, look for one shared cause, such as a provider outage or a firewall change. Recovering after AutoSSL broke every certificate covers that case. If the name exists only behind Cloudflare’s proxy and can never reach the server directly, an origin certificate may be simpler than DCV. And if you need an organization-validated certificate, AutoSSL cannot help; it issues domain-validated certificates only. cPanel documents the full AutoSSL behaviour, including sorting and limits, in its Guide to SSL.
If this is the kind of work you’d rather never own again, it’s the daily job of Managed Cloud Ops — book an infrastructure review.