.well-known/acme-challenge/ directory, and file permissions are standard. Despite passing Domain Control Validation (DCV), the AutoSSL log records an issuance failure: the Certificate Authority (CA) aborted the order because of a Certification Authority Authorization (CAA) record mismatch.
This failure pattern happens when DNS records permit one authority while the hosting server requests certificates from another. Diagnosing this requires understanding how public CAs evaluate CAA records, how DNS hierarchy traversal impacts subdomains, and how to audit these records directly from the command line before running AutoSSL.
How CAA Records Govern Certificate Issuance
Auditing CAA Records with dig
- Flags: An unsigned integer between 0 and 255. The most common flag is
0(non-critical). If set to128(critical), a CA that does not understand the specific tag must abort issuance. - Tag: An ASCII string defining the property. Standard tags are
issue(authorizes a CA to issue single-name and wildcard certificates unless overridden),issuewild(authorizes issuance explicitly for wildcard hostnames), andiodef(specifies an incident reporting URL or mailto address). - Value: The quoted string identifying the authorized entity, such as
"letsencrypt.org"or"sectigo.com".
dig directly against the domain and its parent zones.
BASH
# Query the subdomain directly against the default resolver
dig shop.example.com CAA +noall +answer
# Query the root apex against its authoritative nameserver
dig example.com CAA @ns1.exampledns.net +noall +answer
# Trace authoritative delegation to isolate caching or resolver divergence
dig example.com CAA +traceTEXT
# Illustrative output format showing a restricted apex CAA record
example.com. 3600 IN CAA 0 issue "digicert.com"
example.com. 3600 IN CAA 0 iodef "mailto:[email protected]"example.com and any subdomains inheriting that record. If AutoSSL is configured to use Let's Encrypt or Sectigo, the request will fail immediately after DCV completes.
The Tree-Climbing and CNAME Trap
api.service.example.com and no CAA record exists at api.service.example.com, the CA queries service.example.com. If no record is present there, it queries example.com. A single CAA record at example.com restricts every subdomain underneath it unless an explicit CAA record is added at a lower level to override the parent policy.
A secondary trap involves canonical name aliases. If a subdomain is aliased via a CNAME record, such as app.example.com pointing to client-lb.cloudprovider.net, the CA checks app.example.com. If no CAA record is returned, the CA must follow the CNAME target and inspect client-lb.cloudprovider.net and its parent zones. If the third-party infrastructure has restrictive CAA records, your certificate renewal can be blocked by records on a domain you do not own.
This behavior is structurally distinct from other record collisions, such as the apex restrictions discussed in Why a CNAME on Your Root Domain Breaks MX and TXT Records, because CAA tree-climbing is an external validation routine enforced by the issuer rather than an in-zone DNS protocol violation.
| AutoSSL Provider | CAA Tag | Permitted Issuer Value | Common AutoSSL Failure Log String |
|---|---|---|---|
| Let's Encrypt | issue, issuewild | "letsencrypt.org" | CAA record does not allow issuance |
| cPanel (Sectigo) | issue, issuewild | "sectigo.com" | Certification Authority Authorization (CAA) check failed |
| cPanel (Legacy Comodo) | issue, issuewild | "comodoca.com" | CAA record prevents issuance for provider |
Resolving the Policy in DNS and Testing AutoSSL
issue tags are fully supported and function as an OR condition.
If your authoritative DNS is managed in an external dashboard (like Route 53, Cloudflare, or an enterprise registrar), add the relevant records to the apex zone. If your cPanel server is authoritative for DNS, these records can be managed via the WHM Zone Editor.
For a system running Let's Encrypt, publish:
example.com. IN CAA 0 issue "letsencrypt.org"example.com. IN CAA 0 issuewild "letsencrypt.org"
example.com. IN CAA 0 issue "sectigo.com"example.com. IN CAA 0 issuewild "sectigo.com"
BASH
# Run AutoSSL check for a specific cPanel user
/usr/local/cpanel/bin/autossl_check --user=cpaneluser
# Monitor the live AutoSSL processing log for CAA acceptance
tail -n 50 -f /var/cpanel/logs/autossl/*/*TEXT
# Illustrative output format of a successful AutoSSL renewal run
[AutoSSL] Processing 'cpaneluser' ...
[AutoSSL] The domain 'shop.example.com' passed DCV pre-flight.
[AutoSSL] Requesting certificate from provider: Let's Encrypt ...
[AutoSSL] The provider issued the certificate.
[AutoSSL] The certificate for 'shop.example.com' was installed successfully.Post-Renewal Verification
BASH
# Verify updated CAA answers directly from an authoritative nameserver
dig example.com CAA +short
# Inspect the active certificate presented by the web daemon
echo | openssl s_client -connect shop.example.com:443 -servername shop.example.com 2>/dev/null | openssl x509 -noout -issuer -datesTEXT
# Illustrative output format
issuer=C = US, O = Let's Encrypt, CN = R10
notBefore=Oct 24 10:00:00 2026 GMT
notAfter=Jan 22 10:00:00 2027 GMT.htaccess files. Querying the CAA records with dig up the domain tree reveals whether the Certificate Authority is simply honoring an authorization lock established elsewhere in your DNS infrastructure.