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!

SOLVED Having issues with AutoSSL AuthenticationFailure cPanel Store

Discussion in 'Security' started by LucasR, Mar 10, 2017.

Tags:
  1. LucasR

    LucasR Member

    Joined:
    Dec 15, 2015
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Curitiba, Brazil
    cPanel Access Level:
    Root Administrator
    UPDATE
    The issue has been fixed by cPanel/WHM team.
    Jesse, thanks for checking!

    Fresh Install, CentOS 6 on a KVM VPS from OVH
    Important stuff is BOLD for faster reading.

    I first noticed something was wrong when I was not being able to get the cert issued for system services, then I ran checkallsslcerts --verbose and saw this:

    Code:
    /usr/local/cpanel/bin/checkallsslcerts --verbose
    The system will attempt to replace the self-signed certificate for the “cpanel” service with a signed certificate from the cPanel Store.
    The system failed to acquire a signed certificate from the cPanel Store because of the following error: (XID 3ea92c) The cPanel Store returned an error (X::AuthenticationFailure) in response to the request “POST ssl/certificate/whm-license”: Unauthorized
    The system will attempt to replace the self-signed certificate for the “dovecot” service with a signed certificate from the cPanel Store.
    The system will attempt to replace the self-signed certificate for the “ftp” service with a signed certificate from the cPanel Store.
    The system will attempt to replace the self-signed certificate for the “exim” service with a signed certificate from the cPanel Store.
    After being unable to find any mentions on the “POST ssl/certificate/whm-license”: Unauthorized thing even on Google, I decided to open a ticket. Guess what? I can't:

    Code:
    Error: The system failed to create a stub ticket with the following error: API failure: (XID qrgxd6) The ticket system API “POST” request to “https://tickets.cpanel.net/json-api/tickets/create-stub-ticket” failed with a “422” status code and the following error message: Input validation failed
    We cannot proceed with this automated tool. You must continue the ticket creation process within the cPanel Customer Portal.
    On the Customer Portal:
    Code:
    Support Access Error!
    
    Invalid IP Address/Hostname or Support Access ID.
    I checked the License on verify.cpanel.net and it is valid.

    But wait, there is more...

    Trying to enable cPanel Store on Market Provider Manager:

    Code:
    API failure: (XID 4nwa8h) The system could not connect to the cPanel Store due to an error: “Unauthorized”. Run the “/usr/local/cpanel/cpkeyclt” command.
    
    API failure: (XID k6nk6g) The system could not connect to the cPanel Store due to an error: “Unauthorized”. Run the “/usr/local/cpanel/cpkeyclt” command.
    Running /usr/local/cpanel/cpkeyclt wasn't useful, nothing changed.

    I reinstalled the server and the issue is persistent (but this time I went with CentOS 7).
    This never happened before and I have no clue on what is going on.
     
    #1 LucasR, Mar 10, 2017
    Last edited: Mar 10, 2017
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,173
    Likes Received:
    371
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Jcats

    Jcats Well-Known Member

    Joined:
    May 25, 2011
    Messages:
    703
    Likes Received:
    114
    Trophy Points:
    168
    Location:
    New Jersey
    cPanel Access Level:
    DataCenter Provider
    Same issue on a new server, please update this thread with the outcome please

    Code:
    [root@server ~]# /usr/local/cpanel/bin/checkallsslcerts
    The system failed to acquire a signed certificate from the cPanel Store because of the following error: (XID rnckah) The cPanel Store returned an error (X::AuthenticationFailure) in response to the request “DELETE ssl/certificate/whm-license”: Unauthorized
    [root@server ~]# /usr/local/cpanel/cpkeyclt
    Updating cPanel license...Done. Update succeeded.
    Building global cache for cpanel...Done
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. LucasR

    LucasR Member

    Joined:
    Dec 15, 2015
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Curitiba, Brazil
    cPanel Access Level:
    Root Administrator
    Already in contact. Thanks for your reply.
    Do you have any ideas on how this could be fixed? Personally asking.

    Interesting, for you it's refusing a DELETE request to ssl/certificate/whm-license, for me it's a POST.
     
  5. LucasR

    LucasR Member

    Joined:
    Dec 15, 2015
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Curitiba, Brazil
    cPanel Access Level:
    Root Administrator
    Do you get any errors when enabling cPanel Store on Market Provider Manager? Here it goes on on no matter how many times I enable/disable, it always shows the error.
     
  6. Jcats

    Jcats Well-Known Member

    Joined:
    May 25, 2011
    Messages:
    703
    Likes Received:
    114
    Trophy Points:
    168
    Location:
    New Jersey
    cPanel Access Level:
    DataCenter Provider
    It started working for me, just tried again now.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. LucasR

    LucasR Member

    Joined:
    Dec 15, 2015
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Curitiba, Brazil
    cPanel Access Level:
    Root Administrator
    The issue has been fixed.
    Please close the topic.
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice