how to use control panel via HTTPS ?

Discussion in 'Install/Configuration' started by aww, May 3, 2007.

  1. aww

    aww Well-Known Member

    I used the excellent wiki guide to try out litespeed on our cpanel setup - seems very nice and works well.

    One thing right off that makes me worried however is the control panel on a non SSL connection (ie. HTTP) and entering the password that way.

    Is there any way we can use the general SSL cert on our cpanel setup to access it via SSL? I would need some general instructions if anyone knows how.

    Thank you for any assistance.


    Okay after alot of poking around I found the admin ssl setup here

    But can someone tell me what specifically to change those settings to?
    Is it possible to re-use the SSL cert that WHM uses (ie. from :2087)
    Last edited: May 4, 2007
  2. aww

    aww Well-Known Member

    Oh wow I figured it out myself, can't believe how easy it was.

    Feel free to add it to the wiki or something like that.

    1. go to admin console -> listeners

    2. add a listener called adminListenerSSL or something like that
    make it listen on port 7081 (suggestion) and require SSL

    3. then go to the SSL tab and edit it

    4. in the shell I made a directory called /ssl
    then I ran this:
    openssl genrsa -out server.key 1024
    and then this:
    openssl req -new -x509 -key server.key -out server.crt -days 365

    5. set Private Key File to /ssl/server.key
    6. set Certificate File to /ssl/server.crt

    7. save changes, graceful restart, make sure 7081 is open in your firewall

    try and it works for me!

    I am *very* impressed with litespeed's ease of use!
  3. mistwang

    mistwang LiteSpeed Staff

    Glad you figured it out, and thanks for the detail step by step tutorial, I will add that to our wiki. :)

Share This Page