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.

problem accessing https//whm vs 2086

Discussion in 'General Discussion' started by chanklish, Nov 2, 2017.

  1. chanklish

    chanklish Active Member

    Joined:
    May 22, 2015
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    kinshasa
    cPanel Access Level:
    Root Administrator
    hello awesome people
    i have a question concerning my whm page
    if i go to https://xxx/whm i received this error : NET::ERR_CERT_COMMON_NAME_INVALID
    and if i proceed i am taken to the https://xxx:2086 where the https works normally

    on the contrary if i go to http://xxx/whm it gives no error and redirects me directly to https://xxx:2086

    why ? why doesnt the https://xxx/whm works ? i have autossl on it ?
    please advise
     
  2. Muhammed Fasal

    Muhammed Fasal Active Member

    Joined:
    Aug 9, 2017
    Messages:
    40
    Likes Received:
    3
    Trophy Points:
    8
    Location:
    India
    cPanel Access Level:
    Root Administrator
    In httpd.conf, just look for the following and make sure it is the same.
    After that, restart apache and all should be well. :)
     
  3. chanklish

    chanklish Active Member

    Joined:
    May 22, 2015
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    kinshasa
    cPanel Access Level:
    Root Administrator
    i could not find it .. i searched in the file directory of the account xxx (same as the whm page)
    where could i look ?
     
  4. chanklish

    chanklish Active Member

    Joined:
    May 22, 2015
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    kinshasa
    cPanel Access Level:
    Root Administrator
    i found the conf file , but did not understand what you told me
    i attached the conf file maybe you can help me please


    - Removed -
     
    #4 chanklish, Nov 2, 2017
    Last edited by a moderator: Nov 2, 2017
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    41,484
    Likes Received:
    1,612
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    You can browse to the "Redirection" tab in "WHM >> Tweak Settings" and verify the following option is enabled:

    "Choose the closest matched domain for which that the system has a valid certificate when redirecting from non-SSL to SSL URLs. Formerly known as “Always redirect to SSL/TLS”"

    Per it's description:

    Redirects will not occur when directly accessing the WHM service with the port specified in the URL.

    Thank you.
     
  6. chanklish

    chanklish Active Member

    Joined:
    May 22, 2015
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    kinshasa
    cPanel Access Level:
    Root Administrator
    i have this enabled , i turned it off and on again then restarted the apache service but still same error occurs
    if i go to https://xxx/whm i get an ssl error :
    The hostname in the website’s security certificate differs from the website you are trying to visit.

    Error Code: DLG_FLAGS_SEC_CERT_CN_INVALID or NET::ERR_CERT_COMMON_NAME_INVALID(different browser)
     
  7. SysSachin

    SysSachin Well-Known Member

    Joined:
    Aug 23, 2015
    Messages:
    604
    Likes Received:
    41
    Trophy Points:
    28
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Twitter:
  8. chanklish

    chanklish Active Member

    Joined:
    May 22, 2015
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    kinshasa
    cPanel Access Level:
    Root Administrator
  9. chanklish

    chanklish Active Member

    Joined:
    May 22, 2015
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    kinshasa
    cPanel Access Level:
    Root Administrator
    Any update guys ?!
     
  10. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    41,484
    Likes Received:
    1,612
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Could you open a support ticket using the link in my signature so we can take a closer look?

    Thank you.
     
Loading...

Share This Page