Secure admin panel

Discussion in 'Install/Configuration' started by imagize, Jan 22, 2009.

  1. imagize

    imagize Member

    Is it possible to secure the litespeed admin panel using the same ssl certificate that whm uses? or do we need to generate a custom one ourselves?
  2. anewday

    anewday Moderator

  3. imagize

    imagize Member

    To change the link from the whm plugin to your new secure admin panel...

    I changed this line in main_menu.php (/usr/local/cpanel/whostmgr/docroot/cgi/lsws/main_menu.php)

    $buf .= '<a href="http://' . $_SERVER['SERVER_ADDR'] . ':' . $admin_port . '/">Admin Web Console</a>';

    $buf .= '<a href="https://' . $_SERVER['HTTP_HOST'] . ':' . $admin_port . '/">Admin Web Console</a>';
    This makes the admin url to your servers hostname with ssl.
    Last edited: Jan 22, 2009

Share This Page