How to Install Free SSL on LiteSpeed
To install free SSL on LiteSpeed, enable AutoSSL if you are on cPanel, use the Issue SSL button if you are on CyberPanel, or run Certbot and point a LiteSpeed listener at the files on a bare server. LiteSpeed Web Server reads Apache-style configuration, so the method depends on which control panel, if any, sits in front of it.
Free SSL on LiteSpeed, route 1: cPanel
Most LiteSpeed hosting is cPanel hosting. In that case you do not configure LiteSpeed at all: enable AutoSSL in cPanel's SSL/TLS Status page and the certificate is issued, installed and renewed automatically for every domain on the account. This is the path for nearly all shared-hosting users; the cPanel free SSL guide walks through it step by step. Some hosts expose a Let's Encrypt plugin instead, which works the same way from your side.
Free SSL on LiteSpeed, route 2: CyberPanel
CyberPanel is built around OpenLiteSpeed and has one-click Let's Encrypt built in:
- Open CyberPanel and go to SSL, then Manage SSL.
- Select your domain and click Issue SSL.
- CyberPanel obtains the certificate from Let's Encrypt and wires it into the LiteSpeed virtual host for you.
CyberPanel handles renewal itself, but check the expiry date after the first renewal. If you access the panel itself over your own domain, issue SSL for the hostname separately under the hostname SSL section, since that is a different certificate from the site certificates.
Free SSL on LiteSpeed, route 3: standalone with certbot
On a bare LiteSpeed or OpenLiteSpeed server, use certbot to obtain the certificate, then point a LiteSpeed listener at the files. First get the certificate without stopping your web server, using the webroot method:
sudo apt install certbot
sudo certbot certonly --webroot \
-w /usr/local/lsws/Example/html \
-d example.com -d www.example.com
Then in the LiteSpeed WebAdmin console:
- Create or edit an HTTPS listener on port 443.
- Map your virtual host to the listener.
- In the listener's SSL settings, set the private key file and certificate file paths to the privkey.pem and fullchain.pem that certbot created under /etc/letsencrypt/live/example.com/.
- Mark the listener as secure and perform a graceful restart.
Renewal
Certbot installs a renewal timer automatically and, since Certbot 4.0.0, renews once less than a third of the lifetime is left, which is 30 days on a 90-day certificate, about 21 on a 64-day one and 15 on a 45-day one. LiteSpeed needs a graceful restart to pick up renewed certificate files. Add a deploy hook so the restart happens on every renewal:
sudo certbot renew \
--deploy-hook "systemctl reload lsws"
A deploy hook runs only after a successful renewal (Certbot docs). Use the graceful restart command that your install supports, and after the first real renewal check that LiteSpeed serves the new expiry date. See how to automate SSL renewal with certbot for more hook patterns, including hooks that only restart when a certificate actually changed.
Verify
Visit the site over HTTPS and check the padlock, then run an external SSL check for the chain and expiry date. If you obtained the certificate through a different method than webroot, the certbot free SSL guide covers the standalone and DNS validation options in more depth. Whichever route you used, finish by forcing HTTP to HTTPS redirects so visitors always land on the secure version.
OpenLiteSpeed versus LiteSpeed Enterprise
The certbot plus listener method works on both editions, but OpenLiteSpeed always requires the graceful restart to load new certificate files, while Enterprise reads Apache-style configs and can pick up changes through cPanel or control panel reloads. When in doubt, a graceful restart after renewal is safe on both and easy to automate with the deploy hook shown above.
Troubleshooting validation failures
If certbot fails to validate, the usual suspects apply: the webroot path must match the directory LiteSpeed actually serves for the domain, DNS must point at this server, and port 80 must be reachable from the internet. Test by placing a plain text file in the webroot and fetching it over HTTP from an external connection. Once that works, certbot's challenge will too.
Finally, force HTTP to HTTPS at the listener or with rewrite rules in your .htaccess, since LiteSpeed honors Apache-style rewrites. A certificate without a redirect still serves the site over plain HTTP to anyone who follows an old link, so treat the redirect as part of the installation, not an optional extra.
Related reading: choosing an SSL certificate for cPanel hosting and installing free SSL without cPanel.
Frequently Asked Questions
Do I need to configure LiteSpeed for SSL on cPanel hosting?
No. Enable AutoSSL on the SSL/TLS Status page and cPanel handles issue, install and renewal for the account.
Why does LiteSpeed show the old certificate after renewal?
LiteSpeed needs a graceful restart to load renewed files. Use a Certbot deploy hook so the restart happens on every renewal.
Does this work on OpenLiteSpeed?
Yes. The Certbot plus listener method works on both OpenLiteSpeed and LiteSpeed Enterprise, and a graceful restart after renewal is safe on both.
✅ Post-Installation Verification & SEO Checklist
After applying the steps above, run through this 5-point checklist to prevent browser warnings and protect your Google SEO rankings:
- Verify full CA chain trust and TLS 1.3 support using our Live SSL Checker.
- Scan for Mixed Content HTTP links and check HSTS/CSP headers on Security Headers Checker.
- Enforce a permanent 301 HTTP-to-HTTPS redirect with our HTTPS Redirect Generator.
- Confirm both root and
wwwversions resolve cleanly to one canonical HTTPS URL. - Verify your HTTPS property and
sitemap.xmlinside Google Search Console and Bing Webmaster Tools.