The main domain and the addon DNS are managed externally, however, the A record resolves to a server IP. The autossl DCV works for all except the addon subdomain as it does not have A record in the external DNS zone record. Anyway, the issue is that the AutoSSL gets issued for addon is for CN = www.addondomain.tld , so the SSL does show correctly for addondomain.tld (without www). Below is the autossl log.
Code:
Log for the AutoSSL run for “user”: Tuesday, August 6, 2019 1:39:21 AM GMT+05-30 (cPanel (powered by Sectigo))
1:39:21 AM AutoSSL’s configured provider is “cPanel (powered by Sectigo)”.
This AutoSSL provider does not poll for certificate availability immediately after a certificate request submission. Instead, it submits certificate requests then periodically polls the cPanel Store for each requested certificate and installs it after a successful retrieval. The system will record all requests, retrievals, and installations for the current AutoSSL run in this log.
Checking websites for “user” …
1:39:22 AM Analyzing “subdomain.domain.tld” …
1:39:22 AM TLS Status: Incomplete
Certificate expiry: 10/12/19, 12:00 AM UTC (67.16 days from now)
1:39:22 AM Analyzing “domain.tld” …
1:39:22 AM SUCCESS TLS Status: OK
Certificate expiry: 10/12/19, 12:00 AM UTC (67.16 days from now)
1:39:22 AM Performing DCV (Domain Control Validation) …
1:39:22 AM Local HTTP DCV OK: addondomain.tld
Local HTTP DCV OK: www.addondomain.tld (via addondomain.tld)
Local HTTP DCV OK: mail.addondomain.tld (via addondomain.tld)
WARN Local HTTP DCV error (subdomain.domain.tld): “subdomain.domain.tld” does not resolve to any IP addresses on the internet.
Local HTTP DCV OK: cpanel.addondomain.tld (via addondomain.tld)
Local HTTP DCV OK: webdisk.addondomain.tld (via addondomain.tld)
Local HTTP DCV OK: webmail.addondomain.tld (via addondomain.tld)
WARN Local HTTP DCV error (www.subdomain.domain.tld): “www.subdomain.domain.tld” does not resolve to any IP addresses on the internet.
Local HTTP DCV OK: autodiscover.addondomain.tld (via addondomain.tld)
1:39:29 AM ERROR Local DNS DCV error (subdomain.domain.tld): The DNS query to “_cpanel-dcv-test-record.domain.tld” for the DCV challenge returned no “TXT” record that matches the value “_cpanel-dcv-test-record=c2vwKS3AnmYF0ofadsPgueOq_mrSlvLfdatxoE2sbARrK_ngwsd8b7VTpIZ9yMSQR6”.
ERROR Local DNS DCV error (www.subdomain.domain.tld): The DNS query to “_cpanel-dcv-test-record.domain.tld” for the DCV challenge returned no “TXT” record that matches the value “_cpanel-dcv-test-record=c2vwKS3AnmYF0oeuPgueOq_mrSlvhseftxoE2sbARrK_ngwsd8b7VTpIZ9yMSQR6”.
1:39:29 AM Analyzing “subdomain.domain.tld”’s DCV results …
1:39:29 AM local DCV has gained domains
ERROR Impediment: SECURED_DOMAIN_DCV_FAILURE: One or more currently-secured domains failed DCV.
1:39:29 AM The system has completed the AutoSSL check for “user”.