Symptoms
You encounter messages similar to the following when running the checkallsslcerts script.
The cPanel Store returned an error (X::Item::ActivationFailure) in response to the request “POST ssl/certificate/whm-license/90-day”: The domainNames argument is invalid
[WARN] The system failed to acquire a signed certificate from the cPanel Store because of the following error: (XID zhu2h7) The cPanel Store returned an error (X::Item::ActivationFailure) in response to the request “POST ssl/certificate/whm-license/90-day”: The domainNames argument is invalid
Cannot issue for "$server.hostname.tld": Domain name does not end with a valid public suffix (TLD)
Description
The error is caused by old host names in the "/var/cpanel/hostname_history.json" file. Moving the file aside will allow the hostname certificate to be issued.
Workaround
- Access the server's command line as the 'root' user via SSH or "Terminal" in WHM.
- Move the "hostname_history.json" file aside.
mv -v /var/cpanel/hostname_history.json{,.$(date +%s)}
- Run the "checkallsslcerts" script.
/usr/local/cpanel/bin/checkallsslcerts
Comments
0 comments
Article is closed for comments.