Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
litespeed_wiki:config:admin-ssl [2015/07/20 19:26] Michael Alegre created |
litespeed_wiki:config:admin-ssl [2025/06/03 18:28] (current) Lisa Clarke Redirect to new Documentation Site |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== How to secure web administration console with HTTPS/SSL ====== | + | ~~REDIRECT>https://docs.litespeedtech.com/lsws/webadmin/~~ |
- | + | ||
- | 1. go to admin console -> listeners | + | |
- | <your.server>: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, | + | |
- | <your.server>:7080/config/confMgr.php?m=al_adminListenerSSL&p=lsecure&t=L_SSL_CERT&a=e | + | |
- | + | ||
- | 4. in the shell, go to lsws/conf/cert/ | + | |
- | then ran: | + | |
- | openssl genrsa -out admin.key 1024 | + | |
- | and then this: | + | |
- | openssl req -new -x509 -key admin.key -out admin.crt -days 365 | + | |
- | + | ||
- | 5. set Private Key File to $SERVER_ROOT/conf/cert/admin.key | + | |
- | 6. set Certificate File to $SERVER_ROOT/conf/cert/admin.crt | + | |
- | + | ||
- | 7. save changes, graceful restart, make sure 7081 is open in your firewall | + | |
- | + | ||
- | try https://<your.server>:7081 and it works for me! | + |