Hi,
Our main domain (also used for the host) suddenly won't renew whereas subdomains used by WHM are working ok.
So:
example.com - Old certificate (expired)
host.example.com/whm - New certificate
Both are AutoSSL certificates.
AutoSSL throws this error:
I have tried:
- restarting the server
- (force) updating the server to the latest version of WHM
- disabling and enabling AutoSSL on the account
- restarting the DNS server
- running whmapi1 delete_ssl_vhost host=example.com
I can't work out:
- why the main domain would be sending a different certificate to the host domain;
- why dnsadmin would fail to answer the request; or
- why CAA.pm would be getting a string "0"
Any ideas?
Our main domain (also used for the host) suddenly won't renew whereas subdomains used by WHM are working ok.
So:
example.com - Old certificate (expired)
host.example.com/whm - New certificate
Both are AutoSSL certificates.
AutoSSL throws this error:
Code:
# /usr/local/cpanel/bin/autossl_check --user=example
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.
Analyzing “example”’s domains …
Analyzing “demo.preview.example.com” (website) …
TLS Status: Ready for Renewal
Certificate expiry: 9/27/21, 12:00 AM UTC (4.7 days from now)
Analyzing “example.com” (website) …
TLS Status: Defective
Defect: NO_SSL: No SSL certificate is installed.
Attempting to ensure the existence of necessary CAA records …
get_zones_for_domains(): dnsadmin failed to answer a request that it accepted. at /usr/local/cpanel/Cpanel/DnsUtils/AskDnsAdmin.pm line 130.
Failed to begin “example”’s DCV: Can't use string ("0") as an ARRAY ref while "strict refs" in use at /usr/local/cpanel/Cpanel/SSL/Auto/Run/CAA.pm line 69.
- restarting the server
- (force) updating the server to the latest version of WHM
- disabling and enabling AutoSSL on the account
- restarting the DNS server
- running whmapi1 delete_ssl_vhost host=example.com
I can't work out:
- why the main domain would be sending a different certificate to the host domain;
- why dnsadmin would fail to answer the request; or
- why CAA.pm would be getting a string "0"
Any ideas?
Last edited by a moderator: