Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

AutoSSL will not generate a certificate for the website error

Discussion in 'Security' started by mahdy_sharifi, Oct 20, 2017.

Tags:
  1. mahdy_sharifi

    mahdy_sharifi Well-Known Member

    Joined:
    Feb 26, 2012
    Messages:
    196
    Likes Received:
    0
    Trophy Points:
    66
    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 .
     
  2. rpvw

    rpvw Well-Known Member

    Joined:
    Jul 18, 2013
    Messages:
    618
    Likes Received:
    192
    Trophy Points:
    43
    Location:
    Spain
    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.
     
  3. mahdy_sharifi

    mahdy_sharifi Well-Known Member

    Joined:
    Feb 26, 2012
    Messages:
    196
    Likes Received:
    0
    Trophy Points:
    66
    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
     
  4. rpvw

    rpvw Well-Known Member

    Joined:
    Jul 18, 2013
    Messages:
    618
    Likes Received:
    192
    Trophy Points:
    43
    Location:
    Spain
    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.
     
  5. mahdy_sharifi

    mahdy_sharifi Well-Known Member

    Joined:
    Feb 26, 2012
    Messages:
    196
    Likes Received:
    0
    Trophy Points:
    66
    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
     
    #5 mahdy_sharifi, Oct 21, 2017
    Last edited by a moderator: Oct 21, 2017
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    42,734
    Likes Received:
    1,706
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
  7. mahdy_sharifi

    mahdy_sharifi Well-Known Member

    Joined:
    Feb 26, 2012
    Messages:
    196
    Likes Received:
    0
    Trophy Points:
    66
    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
     
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    42,734
    Likes Received:
    1,706
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Feel free to open a support ticket using the link in my signature so we can take a closer look.

    Thank you.
     
Loading...

Share This Page