AutoSSL will not generate a certificate for the website error

mahdy_sharifi

Well-Known Member
Feb 26, 2012
220
1
68
cPanel Access Level
Root Administrator
Hello :

some domain we enable autoSSL on it , we see error on it :

Code:
 4:50:50 AM WARN AutoSSL will not generate a certificate for the website “xxx” because every domain for that website has been excluded from AutoSSL. at /usr/local/cpanel/Cpanel/SSL/Auto/Report.pm line 137.
4:50:50 AM WARN AutoSSL will not generate a certificate for the website “xxx” because every domain for that website has been excluded from AutoSSL. at /usr/local/cpanel/Cpanel/SSL/Auto/Report.pm line 137.
guide to resolve issue .
 

rpvw

Well-Known Member
Jul 18, 2013
1,101
458
113
UK
cPanel Access Level
Root Administrator
2 places you can look

In the cPanel for the domain: go to SECURITY > SSL/TLS Status
Include the domains/sub-domains as necessary

In WHM: go to SSL/LTS > Manage AutoSSL > Manage Users
Find the user for the domain and Enable if it was disabled.
 

mahdy_sharifi

Well-Known Member
Feb 26, 2012
220
1
68
cPanel Access Level
Root Administrator
an other error appear now !

Code:
 11:28:05 PM ERROR AutoSSL failed to request an SSL certificate for “xxxxx” because of an error: (XID ngphpb) The cPanel Store returned an error (X::Item::Validation) in response to the request “POST ssl/certificate/free”: Generic exception
11:28:06 PM ERROR AutoSSL failed to request an SSL certificate for “xxxxx” because of an error: (XID rx58js) The cPanel Store returned an error (X::Item::Validation) in response to the request “POST ssl/certificate/free”: Generic exception
 

rpvw

Well-Known Member
Jul 18, 2013
1,101
458
113
UK
cPanel Access Level
Root Administrator
See if this thread helps:
Errors from cPanel Store API when requesting autossl certs

It seems that errors of this kind can occur for various reasons. One is you are blocking the outgoing connection to store.cpanel.net server over port 443 in your firewall - this need to be allowed.

The other is perhaps some congestion between cPanel store and Comodo. You could try and run
Code:
/usr/local/cpanel/bin/autossl_check --user $username
from a root shell and see if it clears up (You may need to try 2 or 3 times)

If the above doesn't work, and if it doesn't clear itself during the next upcp maintenance window, you may want to open a support ticket to cPanel and ask for their help.
 

mahdy_sharifi

Well-Known Member
Feb 26, 2012
220
1
68
cPanel Access Level
Root Administrator
Not resolve : (I disabled firewall)

Code:
AutoSSL failed to request an SSL certificate for “cdn.example.irâ€‌ because of an error: (XID v3ybfp) The cPanel Store returned an error (X::Item::Valid
ation) in response to the request “POST ssl/certificate/freeâ€‌: Generic exception
        AutoSSL failed to request an SSL certificate for “example.irâ€‌ because of an error: (XID 99maek) The cPanel Store returned an error (X::Item::Validatio
n) in response to the request “POST ssl/certificate/freeâ€‌: Generic exception
 
Last edited by a moderator:

mahdy_sharifi

Well-Known Member
Feb 26, 2012
220
1
68
cPanel Access Level
Root Administrator
I have same error on .com (TLD) domain.

Code:
12:21:46 AM ERROR AutoSSL failed to request an SSL certificate for “xxx.com” because of an error: (XID h2vxxz) The cPanel Store returned an error (X::AuthenticationFailure) in response to the request “POST ssl/certificate/free”: Unauthorized