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.

I have lost access to WHM

Discussion in 'General Discussion' started by domainsvm, Oct 7, 2013.

  1. domainsvm

    domainsvm Registered

    Joined:
    Oct 7, 2013
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I receive this "ssl_error_rx_record_too_long" error when I try to log in whm /https://cp-nl-1.domain.com:2087.
    This are the last operations I did before starting receiving this error:
    - Modify hostname. Before it was named "panel.domain.com", then renamed as "cp-nl-1.domain.com"
    - Delete DNS zone for "panel.domain.com"
    - Add DNS zone for "cp-nl-1.domain.com"
    - Reset certificate for cPanel/WHM
    - Install a new signed certificate for cp-nl-1.domain.com
    - Modify cipher suite to: ALL:!RC4:!LOW!:!MEDIUM:!ADH:!AECDH:!MD5:!DSS
    - Restart Http via WHM menu.

    After that, I am receiving this error, avoiding login to WHM, cPanel, Webmail, etc...
    I have force redirect to SSL, so no way to login via a non-secure port.

    Any idea about solving this?
     
  2. cPanelJared

    cPanelJared Technical Analyst
    Staff Member

    Joined:
    Feb 25, 2010
    Messages:
    1,842
    Likes Received:
    18
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    In /var/cpanel/cpanel.config, change the following items:

    Code:
    alwaysredirecttossl=1
    requiressl=1
    to:

    Code:
    alwaysredirecttossl=0
    requiressl=0
    Those two lines may not be together in the file, but both entries will be present. Change both of them. Finally, restart cPanel using this command:

    Code:
    # /usr/local/cpanel/startup
    You should now be able to access the WebHost Manager via port 2086. You may need to clear your browser cache, because browsers almost always cache the redirect to the SSL port.
     
Loading...

Share This Page