how to use control panel via HTTPS ?

aww

Well-Known Member
#1
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.


update:

Okay after alot of poking around I found the admin ssl setup here
example.com:7080/config/confMgr.php?m=al_adminListener&p=lsecure

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:

aww

Well-Known Member
#2
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
example.com:7080/config/confMgr.php?m=altop

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
example.com:7080/config/confMgr.php?m=al_adminListenerSSL&p=lsecure&t=L_CERT&a=e

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 https://example.com:7081 and it works for me!

I am *very* impressed with litespeed's ease of use!
 
Top