How can LiteSpeed certificate renewal be automated, and what do shorter lifetimes change?
OpenLiteSpeed documents built-in ACME certificate generation starting in version 1.9, so hosting teams on that release can issue and renew certificates through the server itself. Teams that need a different client can also run certbot and point a listener at the resulting files: set the listener's Private Key File to privkey.pem and its Certificate File to fullchain.pem, with Chained Certificate set to Yes, as LiteSpeed's SSL documentation describes. Both paths remove the manual step, but they must be verified on every virtual host before the lifetimes change.
Publicly trusted certificate lifetimes fall from 200 days to 100 days in March 2027, and to 47 days in March 2029, according to the CA/Browser Forum Baseline Requirements. At that point manual renewal stops being workable, and hosting teams running many virtual hosts must act now, because each host renews on its own schedule and a single missed renewal takes a site offline. Shorter lifetimes also apply to newly issued certificates, so subscribers see the change at each renewal after the date.
For built-in ACME, check the global setting under Server Configuration, Tuning, SSL Global Settings, AutoCert with ACME, then the per-host setting under Virtual Hosts, SSL, AutoCert with ACME, since a host set to Off will not renew. OpenLiteSpeed renews when a certificate is within 30 days of expiration, which leaves little margin at a 47-day lifetime, so monitor the error log at /usr/local/lsws/logs/error.log for NOTICE messages. Wildcard certificates need DNS-01 through a provider API, and non-wildcard certificates need a port 80 listener, a Secure listener and internet reachability. Confirm the renewal interval with your certificate authority's documentation before the change.
What the lifetime schedule means for LiteSpeed sites
This table sets the CA/Browser Forum lifetime steps and Let's Encrypt's published steps against what each one means for a LiteSpeed site. Read each row as a date and the renewal load it creates, and note that the renewal work moves from occasional to continuous as lifetimes shorten.
| Date | Maximum certificate validity | What it means for LiteSpeed sites |
|---|---|---|
| 15 March 2026 | 200 days (CA/B Forum) | Domain validation data may be reused for 200 days. Plan for roughly two renewals per domain per year, and confirm that AutoCert with ACME or certbot is renewing at the expected time. |
| 13 May 2026 | 45 days, opt-in tlsserver profile (Let's Encrypt) | Opt-in only. Sites that choose this profile renew about eight times per domain per year, so confirm that the renewal path works before switching. |
| 10 February 2027 | 64 days, default classic profile, 10-day reuse (Let's Encrypt) | Default Let's Encrypt lifetime changes. Renewal frequency rises, and the 10-day authorization reuse period means validation runs more often. |
| 15 March 2027 | 100 days (CA/B Forum) | Renewals rise to about three or four per domain per year. Manual renewal is likely to miss dates at this point. |
| 16 February 2028 | 45 days, classic profile, 7-hour reuse (Let's Encrypt) | Classic profile moves to 45-day certificates. Renewal runs roughly every six weeks, so scheduled renewal and deploy steps must work without a person. |
| 15 March 2029 | 47 days, 10-day validation reuse (CA/B Forum) | Renewals occur about eight times per domain per year, and validation reuse drops to 10 days. Hand renewal stops being workable, so automation and monitoring must cover every LiteSpeed virtual host. |
| Any renewal, manual | Shorter lifetimes at every step | Manual renewal fails as lifetimes shorten because the renewal date arrives sooner each time. Let's Encrypt recommends monitoring that alerts when renewal does not happen, and does not recommend manual renewal. |
How LiteSpeed issues and renews certificates
LiteSpeed offers two ways to get and renew certificates, and the choice decides what your team has to maintain. The first is built-in ACME in OpenLiteSpeed. Support is added by running /usr/local/lsws/admin/misc/install_acme.sh, which configures the mod_acme module and gracefully restarts LiteSpeed. OpenLiteSpeed documents this starting in version 1.9. You then turn on AutoCert with ACME in one of two places: globally under Server Configuration, Tuning, SSL Global Settings, or per virtual host under Virtual Hosts, the host, SSL. The per-host value can be Not Set, Enabled or Off, and in vhost.conf the matching acme block takes enabled values of 0 (Not Set), 1 (Off) and 2 (On). The default CA is Let's Encrypt. Changing the CA, or the account email, means uninstalling and reinstalling the module, so confirm those values before you install.
Once AutoCert is enabled, OpenLiteSpeed checks all domains daily and renews a certificate when it is within 30 days of expiration. Certificates are stored under $LSWS_HOME/conf/cert/acme/certs/<domain>_ecc and are created in stateless mode, so the documentation advises against editing them with acme.sh unless LiteSpeed support directs you to. Problems appear as NOTICE messages in /usr/local/lsws/logs/error.log, which is where your monitoring should start. Confirm the prerequisites as well: a port 80 HTTP listener for non-wildcard names, a listener marked Secure, a server reachable from the internet, and root on Linux. Wildcard certificates need DNS-01 through a DNS provider API, such as dns_cf for CloudFlare, because LiteSpeed cannot complete that challenge alone.
The second path is certbot, which your team runs and then points LiteSpeed at. LiteSpeed's SSL documentation describes a web root flow, with a path such as /usr/local/lsws/DEFAULT/html/. You then set the listener's Private Key File to /etc/letsencrypt/live/Your_Domain/privkey.pem and its Certificate File to fullchain.pem, with Chained Certificate set to Yes. Certbot does not reload LiteSpeed for you. The sources here do not specify a restart or reload command after a certbot renewal, so confirm the correct step with LiteSpeed's documentation, and add one through a certbot deploy hook under /etc/letsencrypt/renewal-hooks/deploy that you test before relying on it. Whichever path you choose, plan for shorter lifetimes, since the public maximum falls to 200 days in March 2026, 100 days in March 2027 and 47 days in March 2029.
Which automation option fits this LiteSpeed setup
OpenLiteSpeed documents built-in ACME certificate generation starting in version 1.9. You install the support by running /usr/local/lsws/admin/misc/install_acme.sh, which configures the mod_acme module and gracefully restarts LiteSpeed. Let's Encrypt is the default CA, and you set a different CA with -s as a full URL at install time. The module renews a certificate when it is within 30 days of expiration and checks all domains daily, including wildcards.
- Version and root: You need OpenLiteSpeed 1.9 or later, and the server must run on Linux as root.
- Listeners: Non-wildcard certificates need an HTTP port 80 listener and a listener marked Secure.
- Reachability: The server must be reachable from the internet for the CA to validate it.
- Changing options: Changing install options means uninstalling with
uninstall_acme.shand reinstalling, which also removes the certificates. - Storage and logs: Certificates sit under
$LSWS_HOME/conf/cert/acme/certs/<domain>_ecc, and problems appear as NOTICE messages in/usr/local/lsws/logs/error.log.
Check that your listeners, firewall rules and install account match these requirements before you enable the module, and confirm the 30-day renewal window in your error log after the first cycle.
LiteSpeed's SSL documentation describes a certbot flow that uses a web root such as /usr/local/lsws/DEFAULT/html/. Certbot obtains and renews the certificate, and you point the listener's Private Key File at /etc/letsencrypt/live/Your_Domain/privkey.pem and its Certificate File at fullchain.pem, with Chained Certificate set to Yes. This route works alongside the built-in module, which OpenLiteSpeed says does not interfere with certificates from other sources such as certbot.
- Listener configuration: Set the key and chain paths in the listener's SSL settings, as the LiteSpeed SSL documentation describes.
- Web root validation: Certbot validates through the web root, so the domain must serve files from that directory over HTTP.
- Renewal hooks: Certbot's
--deploy-hookruns only after a successful renewal, and executables in/etc/letsencrypt/renewal-hooks/deployalso run as deploy hooks. - Reload gap: The LiteSpeed SSL documentation does not specify a restart or reload command after certbot renewal, so you must confirm the reload step yourself.
- Certbot version: From Certbot 4.0.0, renewal triggers when less than one third of the lifetime remains, and from 2.7.0 hooks receive
RENEWED_DOMAINSandFAILED_DOMAINS.
Test a renewal with a dry run, then confirm that LiteSpeed serves the new certificate after the hook runs, since the sources do not say how it picks up renewed files.
Wildcard certificates need the DNS-01 challenge, and OpenLiteSpeed cannot complete DNS-01 on its own. You configure DNS validation through a DNS provider API, and the documentation gives dns_cf for CloudFlare as an example. The built-in module still handles renewal checks for wildcard domains, but it depends on the provider API for validation.
- Provider API: You need credentials for a DNS provider that the ACME client supports, such as
dns_cffor CloudFlare. - Scope of the credential: Limit the API token to editing the TXT records for the zones you validate.
- Renewal checks: The daily check covers wildcard domains, so a failing DNS credential surfaces only as a NOTICE in the error log.
- Provider coverage: The sources name
dns_cfas an example and do not list every supported provider, so confirm yours in the documentation. - Non-wildcard names: A wildcard certificate does not replace the port 80 requirement for names that use HTTP validation.
Before relying on a wildcard certificate, run a renewal against the DNS provider and confirm the TXT record appears and is removed as expected.
The sources in this topic cover OpenLiteSpeed and the LiteSpeed SSL documentation, and they do not cover commercial LiteSpeed Enterprise ACME behavior. Enterprise deployments may have different installation paths, admin interfaces and renewal handling, so the OpenLiteSpeed requirements above should not be assumed to apply to them. Plan to confirm the behavior directly with the vendor before you rely on it.
- Edition check: Identify whether the server is OpenLiteSpeed or LiteSpeed Enterprise before you choose a route.
- Vendor documentation: Ask LiteSpeed for the ACME or renewal documentation that applies to your edition and version.
- Support path: The OpenLiteSpeed documentation directs unusual problems to LiteSpeed support rather than manual edits to the ACME files.
- Mixed estates: If you run both editions, document the route for each server separately.
- Lifetime change: Whatever edition you run, the public CA lifetime schedule still applies, so plan renewal checks for the shorter validity periods.
Write down the edition and version in use, then request the vendor's renewal behavior in writing before you move production traffic onto the route.
Set up ACME renewal on OpenLiteSpeed in order
This sequence installs OpenLiteSpeed's built-in ACME support, turns on automatic issuance globally and per virtual host, and confirms that certificates are issued and renewing. It is the path that leaves a LiteSpeed server renewing its own certificates without a manual import each time. Each step ends with a check you can run before moving on.
Confirm the version and prerequisites
Before installing anything, confirm that the server runs OpenLiteSpeed version 1.9 or later, because built-in ACME certificate generation starts at that version. Confirm that the host runs Linux as root, that port 80 has an HTTP listener for any non-wildcard certificate, that a listener is marked Secure, and that the server is reachable from the internet so the certificate authority can validate the domain. If you need a wildcard certificate, plan for DNS-01 through a DNS provider API, such as dns_cf for CloudFlare, because LiteSpeed cannot complete DNS-01 alone. You are done when every item is confirmed and written down for the change record.
Choose the certificate authority and account email
Decide which certificate authority will issue the certificates and which email address will hold the ACME account. Let's Encrypt is the default at its published directory URL. If you use another certificate authority, you will pass its full directory URL during installation. The email address is the contact for the account, so use a mailbox that someone monitors. You are done when you have the account email and, if needed, the complete CA URL, and both are recorded.
Run the ACME install script
As root, run /usr/local/lsws/admin/misc/install_acme.sh with -e followed by the account email. Add -s followed by the full CA URL only if you are not using Let's Encrypt, and add -l followed by the LSWS directory if your installation is not in the default location. The script configures the mod_acme module and gracefully restarts LiteSpeed. You are done when the script finishes without errors and the server restarts cleanly. If you later need to change any of these install options, you must run uninstall_acme.sh and then reinstall.
Enable AutoCert with ACME globally in WebAdmin
In WebAdmin, open Server Configuration, then Tuning, then SSL Global Settings, and set AutoCert with ACME to Enabled. The available values are Disabled, Off (the default) and Enabled. This turns the feature on for the server as a whole. You are done when the global setting shows Enabled and the change has been applied and saved, which you can confirm by reloading the page and checking the value.
Enable AutoCert with ACME for each virtual host
For each virtual host that needs a certificate, open Virtual Hosts, select the host, go to SSL, and set AutoCert with ACME. The values here are Not Set, Enabled and Off. Alternatively, you can add an acme block inside the vhssl section of vhost.conf and set enabled to 2 for On (0 means Not Set, 1 means Off). The block also takes api and env settings, which the documentation covers in detail. You are done when each intended host shows the setting enabled and no host you meant to exclude has it turned on.
Confirm the certificate is issued
Once the settings are saved, check that a certificate has been issued for each domain. ACME certificates are stored under $LSWS_HOME/conf/cert/acme/certs/<domain>_ecc. To list the certificates, run chmod 755 acme.sh.env once in /usr/local/lsws/acme, then run sudo -u lsadm bash -c ". ./acme.sh.env;./acme.sh --list" from that directory. You are done when each domain appears in the list with an issuance date. If it does not, check /usr/local/lsws/logs/error.log for NOTICE messages describing the problem.
Verify the listener is Secure
Open the listener that serves the domain in WebAdmin and confirm it is marked Secure and uses the ACME-issued certificate. Then make an HTTPS request to the domain and check that the certificate presented matches the expected name and issuer. Note that the sources here do not specify further listener settings, so confirm any additional options in the OpenLiteSpeed documentation for your version. You are done when an HTTPS connection to each domain succeeds with the issued certificate.
Check that renewals are scheduled and monitored
OpenLiteSpeed renews a certificate automatically when it is within 30 days of expiration and checks all domains daily, including wildcards. Set up monitoring that alerts you if a certificate is not renewed when expected, and check the error log regularly for renewal problems. Keep in mind that certificate lifetimes are shortening, so an alert that depends on a fixed 30-day window should be reviewed as lifetimes change. You are done when an alert path exists, has been tested, and someone is named to act on it.
What must be in place before ACME renewal works
OpenLiteSpeed's built-in ACME support only issues and renews certificates when the server meets a short list of conditions. Each card below covers one condition, so you can check your server against the list before you enable AutoCert.
OpenLiteSpeed version 1.9 or later
Built-in ACME certificate generation starts in OpenLiteSpeed 1.9, so earlier releases cannot use AutoCert with ACME at all. Confirm the installed version before you run the ACME installer, because the installer configures the mod_acme module that this feature depends on. If you run an older release and want automatic renewal, plan the upgrade first. Certbot or another ACME client remains an alternative for those servers.
OpenLiteSpeed ACME docsHTTP port 80 listener for non-wildcard names
A certificate for a non-wildcard domain is validated over HTTP, so the server needs a listener on port 80 that can answer the challenge. Check that the listener exists in the WebAdmin console and that the domain resolves to this server. A firewall or load balancer that blocks port 80 will cause issuance and renewal to fail, even when port 443 works.
Listener marked Secure
The HTTPS listener that serves the domain must be marked Secure so OpenLiteSpeed can attach the issued certificate to it. A listener that is not marked Secure will not receive the ACME certificate, even when the virtual host has AutoCert enabled. Check the listener settings for each site before you rely on automatic renewal, since a renewed certificate that never reaches the listener leaves the old one in use.
Server reachable from the internet
The CA must reach the server from the public internet to complete validation, so the server cannot sit behind a network that only allows internal traffic. Test reachability from outside your network for each domain on the certificate. Private servers, air-gapped hosts and servers behind restrictive egress or ingress rules will need a different approach, such as DNS-based validation where it is supported.
Linux running as root
OpenLiteSpeed's ACME support requires Linux and requires the server to run as root. The installer and the renewal process both depend on that access, so a deployment that runs LiteSpeed under a restricted account will not meet the requirement. Review your process model and your change approval process before you plan to run the installer on a hardened host, because removing root access breaks automatic renewal.
DNS provider API access for wildcards
Wildcard certificates require DNS-01 validation, and LiteSpeed cannot complete DNS-01 by itself. You need API access to your DNS provider, configured through a DNS hook such as dns_cf for CloudFlare. Check that the API credentials have permission to create and remove TXT records for the zone, and confirm the provider is supported before you order wildcard certificates. Non-wildcard domains do not need this access.
How an ACME renewal moves through OpenLiteSpeed
The renewal starts with a daily check by OpenLiteSpeed across all configured domains, including wildcards. When a certificate is within 30 days of expiration, the ACME module requests a new one from the CA, which validates control of the domain either through the HTTP port 80 listener for non-wildcard names or through DNS-01 for wildcards. The issued certificate is stored under the acme certs directory, where the listener picks it up. If a step fails, the NOTICE message is written to /usr/local/lsws/logs/error.log, so check that file first when a renewal does not complete.
The daily check, validation and storage path for an OpenLiteSpeed ACME renewal.
How to confirm LiteSpeed renewals keep happening
Automated issuance is only half the job. A LiteSpeed or OpenLiteSpeed host can stop renewing quietly, so the goal is to confirm that renewals are happening before a certificate expires. On OpenLiteSpeed with built-in ACME, the first check is the certificate inventory. As root, run chmod 755 acme.sh.env once in /usr/local/lsws/acme, then run sudo -u lsadm bash -c ". ./acme.sh.env;./acme.sh --list". The output shows each domain's certificate and its next renewal time, which you can compare against the expiry dates you expect. Repeat the check after any change to the server or its DNS, since a failed renewal often appears first as a stale date here.
Next, watch /usr/local/lsws/logs/error.log. ACME problems are logged there as NOTICE messages, so a failing renewal shows up in the log before it shows up as an expired certificate. Search for NOTICE entries that mention your domains and treat any new one as an incident to investigate. The common causes are an unreachable port 80 listener, a listener not marked Secure, or a DNS problem on a wildcard certificate. The OpenLiteSpeed documentation lists these requirements, so confirm them against your version's documentation.
Do not rely only on the server to tell you it has failed. Set expiry alerts that run independently of LiteSpeed, from an external monitor or a separate host that checks the live certificate on each public name. Let's Encrypt advises setting up monitoring that alerts you if certificates are not renewed when expected, and recommends against manual renewal because shorter lifetimes would require it far more often. Keep the dated output of the list command, the relevant log extracts and your alert history, since an auditor or customer may ask for proof that renewals ran.
Questions hosting teams ask about LiteSpeed certificate renewal
Does OpenLiteSpeed support ACME, and from which version?
Yes. OpenLiteSpeed documents built-in ACME certificate generation starting in version 1.9. The ACME support is added by running /usr/local/lsws/admin/misc/install_acme.sh, which configures the mod_acme module and gracefully restarts LiteSpeed. The install command takes an account email with -e, an optional CA URL with -s (the default is Let's Encrypt), and the LiteSpeed directory with -l. Changing install options requires uninstalling with uninstall_acme.sh and reinstalling. Confirm the version you run includes this support before planning around it, since the sources listed here cover 1.9 and later.
Does OpenLiteSpeed work with certbot?
Yes. OpenLiteSpeed's ACME documentation says its built-in certificates can be combined with certificates from other sources such as certbot without interfering with them. LiteSpeed's SSL documentation describes a certbot flow using a web root such as /usr/local/lsws/DEFAULT/html/, then pointing the listener's Private Key File to /etc/letsencrypt/live/Your_Domain/privkey.pem and Certificate File to fullchain.pem, with Chained Certificate set to Yes. That same documentation does not specify a restart or reload command after certbot renews, so your team must confirm how the new files get picked up on its platform.
Can OpenLiteSpeed renew wildcard certificates automatically?
Wildcard certificates need the DNS-01 challenge, and LiteSpeed cannot complete DNS-01 on its own. It needs a DNS provider API, such as dns_cf for CloudFlare. Non-wildcard certificates instead require an HTTP port 80 listener, a listener marked Secure, a server reachable from the internet, and Linux running as root. Plan the DNS provider credentials and their access rights as part of the setup, and confirm with the OpenLiteSpeed documentation which DNS providers your version supports.
How often does OpenLiteSpeed renew its ACME certificates?
OpenLiteSpeed renews automatically when a certificate is within 30 days of expiration, and it checks all domains daily, including wildcards. Because the current public lifetime is moving toward shorter periods, this 30-day window will need to be reviewed against the schedule. Let's Encrypt's published timeline sets 45-day certificates from 13 May 2026 under the opt-in tlsserver profile, and the default classic profile moves to 64-day certificates from 10 February 2027 and to 45-day certificates from 16 February 2028. Let's Encrypt says the new validity applies to newly issued certificates, so subscribers see it at the next renewal after each date.
What happens when OpenLiteSpeed certificate renewal fails?
Renewal problems are logged as NOTICE messages in /usr/local/lsws/logs/error.log. Check that log first when a renewal does not complete. Because ACME certificates are created in stateless mode, the sources advise against modifying them with acme.sh unless LiteSpeed support directs it. To inspect the certificates as root, run chmod 755 acme.sh.env once in /usr/local/lsws/acme, then sudo -u lsadm bash -c ". ./acme.sh.env;./acme.sh --list". Let's Encrypt recommends monitoring that alerts you when certificates are not renewed when expected, and it does not recommend manual renewal, since shorter lifetimes would require it more often.
Can a team set ACME on one virtual host instead of the whole server?
Yes. The global setting sits under Server Configuration, Tuning, SSL Global Settings, AutoCert with ACME, with values Disabled, Off (the default) and Enabled. Per virtual host, the setting is under Virtual Hosts, the host, SSL, AutoCert with ACME, with values Not Set, Enabled and Off. In vhost.conf, an acme block inside vhssl takes enabled (0 Not Set, 1 Off, 2 On), along with api and env. Check which level your version applies first, so a host-level Off does not conflict with a global Enabled.
When should a team get outside help with LiteSpeed certificate renewal?
Consider outside help when the setup spans many hosts, uses wildcard certificates that need DNS provider credentials, or depends on a control panel where renewal must reload services safely. Help is also useful when renewals fail repeatedly, the error log shows problems you cannot trace, or the team must move from certbot to ACME in OpenLiteSpeed without service interruption. DeployOpen plans, implements and documents self-hosted platforms in your own infrastructure, and can scope that work in writing before it starts. Ask any provider to confirm how they handle reloads and how they will test renewal before the next expiry date.
How DeployOpen works on this
DeployOpen scopes, builds and hands over certificate renewal for LiteSpeed and OpenLiteSpeed servers in your own infrastructure. We start from which certificate sources and virtual hosts you run, then set up renewal that your team can operate and verify after each change.
How we scope
- We inventory which LiteSpeed or OpenLiteSpeed servers, listeners and virtual hosts issue or hold certificates today.
- We confirm which CA you use, whether wildcard names are needed, and whether DNS-01 access to a provider API is available.
- Engagements are fixed-scope, with scope and deliverables agreed in writing before any work starts on your servers.
How we build
- We configure ACME issuance and renewal for your setup, or integrate certbot where your existing flow depends on it.
- We check that port 80 listeners, Secure listeners and server reachability meet the requirements for your certificate types.
- We test renewal in a non-production environment and confirm the certificate files and listener settings load correctly.
How we hand over
- We document the configuration, where certificates are stored, and the log locations to check for renewal notices.
- We set up monitoring that alerts your team when a certificate is not renewed as expected, since renewal is not manual.
- We walk your operators through listing certificates, reviewing failures and what to change if a renewal fails.
How we support
- Ongoing support, upgrades and continuous testing are available as a retainer after handover.
- We can retest renewal when you change CA, add wildcard names, or move certificate lifetimes to shorter schedules.
- Confirm current lifetime and renewal timing against the Let's Encrypt and CA/Browser Forum documentation for your CA.

