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.

No more WHM access - certificate problem

Discussion in 'Security' started by SecondSight, Aug 2, 2017.

Tags:
  1. SecondSight

    SecondSight Well-Known Member

    Joined:
    Jun 30, 2004
    Messages:
    70
    Likes Received:
    0
    Trophy Points:
    156
    Hello ! :)

    I no longer have access to WHM.

    When I type the usual url (ending with 2087), I get a blank page with this messsage :

    An error occurred during a connection to MyserverIP:2087. Peer’s Certificate has been revoked. Error code: SEC_ERROR_REVOKED_CERTIFICATE

    Can you tell me how to fix this ? (use ssh ? how ?)

    Thank you ! :)
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    42,763
    Likes Received:
    1,710
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    The error message indicates the SSL certificate for the cPanel/WHM/Webmail service is no longer valid. You can use the following command to reset it to a self-signed certificate:

    Code:
    whmapi1 reset_service_ssl_certificate service=cpanel
    This should allow you to access Web Host Manager using the secure port (you may also need to clear your browser cache first). You can then use the instructions on the following document if you'd like to install a free cPanel-signed certificate for the hostname:

    Free cPanel-Signed Hostname Certificate - cPanel Knowledge Base - cPanel Documentation

    Let us know if this helps.

    Thanks!
     
    linux4me2 likes this.
  3. albatroz

    albatroz Well-Known Member

    Joined:
    Mar 6, 2003
    Messages:
    313
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Virtual Orbis / Peru
    cPanel Access Level:
    Root Administrator
    This command can be executed from the command line?
     
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,067
    Likes Received:
    348
    Trophy Points:
    433
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    That's correct.
     
    cPanelMichael likes this.
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    42,763
    Likes Received:
    1,710
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Note that internal case CPANEL-12824 in cPanel 68.0.16 will prevent hostname changes from causing this issue in the future by deferring the revocation of old hostname certificates until the new hostname passes domain control validation:

    Fixed case CPANEL-12824: Defer revocation of old hostname cert until new hostname passes DCV.

    Thank you.
     
Loading...

Share This Page