In order to install an SSL certificate for use on the LiteSpeed WebAdmin Console area, the following steps need to be performed:
Placement of the SSL Certificate Files:
Place the certificate that you want to use in
/usr/local/lsws/admin/conf/cert/admin.crt
Place the private key that you want to use in
/usr/local/lsws/admin/conf/cert/admin.key
Place the CAbundle that you want to use in
/usr/local/lsws/admin/conf/cert/admin.cabundle
Change the ownership of this directory and files inside it to "lsadm".
/usr/local/lsws/admin/conf/cert
Next, in the LiteSpeed WebAdmin Console (http://ipaddress:7080), go to the WebAdmin Console >> Listeners (1) tab, click View/Edit under the "adminListener" listener. Set Secure to "Yes", click the SSL tab, and for Private Key File specify the path,
/usr/local/lsws/admin/conf/cert/admin.key
for Certificate File specify the path
/usr/local/lsws/admin/conf/cert/admin.crt
and for CA Certificate File, specify the path
/usr/local/lsws/admin/conf/cert/admin.cabundle
Finally, you need to gracefully restart LiteSpeed by either going in the LiteSpeed WebAdmin Console to Actions >> Graceful Restart, or from the command line via:/usr/local/lsws/bin/lswsctrl restart