> For the complete documentation index, see [llms.txt](https://docs.nalpeiron.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nalpeiron.com/zentitle2-docs/ui-local-license-server/local-license-server-lls.md). Agents can also search and read this documentation through its [MCP server](https://docs.nalpeiron.com/~gitbook/mcp).

# Local License Server (LLS)

Run Zentitle2 licensing on customer networks that can't connect to the cloud with the Local License Server (LLS), a Docker application that serves the Licensing API on site.

The Zentitle2 Local License Server (LLS) is a Docker application that you deploy at a customer site that can't, or won't, keep a connection to the Zentitle2 cloud. It serves the same Licensing API as the cloud, so your applications activate seats and check out features against the LLS on the customer's network. You keep managing the entitlements in Zentitle2 and move them to the LLS as signed and encrypted tokens.

{% hint style="info" %}
The LLS is a separate Zentitle2 product, licensed per server. Ask your account manager or the Zentitle support team to add LLS licenses to your subscription.
{% endhint %}

### Key strengths

The LLS gives dark sites the following capabilities:

| Strength                                     | What the LLS does                                                                                                                                                                       | Why it matters                                                                                                               |
| -------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- |
| Works without an internet connection         | The LLS never connects to Zentitle2. Entitlements and license updates travel as signed and encrypted tokens.                                                                            | Air-gapped and high-security sites can run your software with the same entitlements that you manage for connected customers. |
| Same Licensing API and SDKs                  | Applications set the LLS address as the API URL. The rest of the integration stays the same, apart from the differences listed on this page.                                            | One integration serves your cloud and on-premises customers.                                                                 |
| Central control from Zentitle2               | You create and change entitlements in Zentitle2, choose which LLS hosts them, and refresh or deactivate each LLS license. An LLS stops serving licenses when its license lease expires. | You stay in control of deployments that you can't reach over a network.                                                      |
| Concurrent and node-locked licensing on site | The LLS enforces seat counts, lease periods, expiration dates, and Boolean, usage count, and element pool features.                                                                     | Floating seats and feature pools work across a site without a connection to the cloud.                                       |
| Tamper detection                             | The LLS detects changes made directly in its database and locks its API when it finds them.                                                                                             | Editing the database to raise seat counts or extend expiration dates locks the LLS instead of granting more use.             |
| High availability                            | Several LLS nodes can share one PostgreSQL database behind a load balancer, and seat counts stay consistent across the nodes.                                                           | Licensing keeps working when a node fails or during maintenance.                                                             |
| Automation                                   | The Zentitle2 Management API and the LLS Management API cover every step of the token exchange, and health endpoints support monitoring.                                                | LLS operations fit into your provisioning and operations tooling.                                                            |
| Activation log                               | The LLS records seat activations, refreshes, deactivations, roaming starts and ends, and denied activations for each entitlement, with a configurable retention period.                 | Administrators and your support team can see which seats were used and when.                                                 |

### Advantages over cheaper or legacy solutions

The following table compares the LLS with cheaper or legacy licensing solutions for dark sites:

| Area                      | LLS                                                                                                   | Cheaper or legacy solutions                                             |
| ------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------- |
| Deployment                | Docker containers that your customers can run themselves, with high availability across several nodes | Often complex to install, with specialist engineers or hardware dongles |
| Licensing models          | Concurrent and node-locked seats with feature limits                                                  | Usually concurrent seats only                                           |
| Changes after delivery    | Made in Zentitle2 and delivered to the LLS as a token, without site visits                            | Manual work or site visits                                              |
| Protection against misuse | Signed and encrypted tokens, and tamper detection on the LLS database                                 | Weak or none                                                            |
| Integration               | The same Licensing API and SDKs as the Zentitle2 cloud                                                | Often a reduced feature set for offline use                             |

For a detailed comparison, including costs and support, see [Critical differences for secure site/offline/dark site management](https://docs.nalpeiron.com/zentitle2-docs/zentitle-overview/zentitle-quick-overview/critical-differences-for-secure-site-offline-dark-site-management.md).

### Video overview of the LLS

For a short introduction to the LLS, watch the following video:

{% embed url="<https://www.youtube.com/watch?v=YcURKhzjxMw>" %}

### What works differently on the LLS

The LLS serves the Licensing API from imported entitlement data, so the following features work differently than in the Zentitle2 cloud:

| Area                                                                                                                                                                     | Zentitle2 cloud                                   | LLS                                                                                                                                                                                                                                                                                                                                                                                              |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Seat activation                                                                                                                                                          | Activation codes and account-based licensing      | Activation codes only. Account-based licensing isn't supported.                                                                                                                                                                                                                                                                                                                                  |
| [Entitlement discovery before activation](https://docs.nalpeiron.com/zentitle2-docs/developers/licensing-and-management-apis/discover-entitlements-before-activation.md) | Supported from Licensing API version `2026-10-28` | Not supported                                                                                                                                                                                                                                                                                                                                                                                    |
| Offline activation of applications                                                                                                                                       | Supported                                         | Not supported. Applications must reach the LLS over the network.                                                                                                                                                                                                                                                                                                                                 |
| [License roaming](https://docs.nalpeiron.com/zentitle2-docs/ui-entitlements/using-entitlements/license-roaming.md)                                                       | Supported from Licensing API version `2026-10-28` | Supported in LLS releases after 2.3.6. The maximum roaming period comes from the imported Entitlement Export Token, and an administrator can't release a lost machine's roaming seat early. See [License roaming on the LLS](https://docs.nalpeiron.com/zentitle2-docs/ui-local-license-server/local-license-server-lls/entitlements-to-be-used-on-lls-instances.md#license-roaming-on-the-lls). |
| Overdraft seats                                                                                                                                                          | Supported                                         | Ignored. The seat count is the limit.                                                                                                                                                                                                                                                                                                                                                            |
| Entitlement changes                                                                                                                                                      | Take effect immediately                           | Take effect when the LLS imports a new Entitlement Export Token.                                                                                                                                                                                                                                                                                                                                 |
| Freeing node-locked seats                                                                                                                                                | You can delete the activation in Zentitle2.       | Not possible. The seats stay in use until the entitlement is removed from the LLS.                                                                                                                                                                                                                                                                                                               |
| Seat and feature usage                                                                                                                                                   | Shown in Zentitle2                                | Shown only on the LLS, in its web interface and Management API                                                                                                                                                                                                                                                                                                                                   |
| Boolean feature usage tracking                                                                                                                                           | Recorded                                          | Accepted, but not recorded                                                                                                                                                                                                                                                                                                                                                                       |
| Zengain event tracking                                                                                                                                                   | Recorded                                          | Rejected                                                                                                                                                                                                                                                                                                                                                                                         |
| Seat lease periods                                                                                                                                                       | Taken from the entitlement                        | Taken from the entitlement, optionally capped by the LLS setting `LeasePeriodOverrideSeconds`                                                                                                                                                                                                                                                                                                    |
| End User Portal                                                                                                                                                          | Customers manage their activations.               | Customers see that the entitlement is hosted on an LLS and can download its current Entitlement Export Token.                                                                                                                                                                                                                                                                                    |

Moving an entitlement to an LLS has its own conditions, such as having no activations in the cloud. See [Entitlements to Be Used on LLS Instances](https://docs.nalpeiron.com/zentitle2-docs/ui-local-license-server/local-license-server-lls/entitlements-to-be-used-on-lls-instances.md).

### Deploy the LLS for a customer

Follow these steps to put an LLS into service:

1. Check that your Zentitle2 subscription includes LLS licenses. The **Local License Server** page in Zentitle2 shows the activation code and the number of servers you can activate.
2. Learn how the parts fit together in [LLS Architecture and Lifecycle](https://docs.nalpeiron.com/zentitle2-docs/ui-local-license-server/local-license-server-lls/how-the-lls-works.md).
3. Install the LLS at the customer site, as described in [Local License Server Installation](https://docs.nalpeiron.com/zentitle2-docs/ui-local-license-server/local-license-server-lls/local-license-server-installation.md). To try the LLS first, run the demo application on your own machine.
4. For production sites, review [LLS High Availability](https://docs.nalpeiron.com/zentitle2-docs/ui-local-license-server/local-license-server-lls/high-availability.md) and [LLS Configuration Reference](https://docs.nalpeiron.com/zentitle2-docs/ui-local-license-server/local-license-server-lls/configuration-reference.md).
5. Activate the LLS license, as described in [LLS License End-User Management](https://docs.nalpeiron.com/zentitle2-docs/ui-local-license-server/local-license-server-lls/lls-license-end-user-management.md).
6. Export entitlements to the LLS, as described in [Entitlements to Be Used on LLS Instances](https://docs.nalpeiron.com/zentitle2-docs/ui-local-license-server/local-license-server-lls/entitlements-to-be-used-on-lls-instances.md).
7. Point your applications at the LLS, as described in [LLS Licensing API](https://docs.nalpeiron.com/zentitle2-docs/ui-local-license-server/local-license-server-lls/lls-licensing-api.md).
8. Refresh the LLS license before its lease expires, and script recurring tasks with [LLS Automation with Management APIs](https://docs.nalpeiron.com/zentitle2-docs/ui-local-license-server/local-license-server-lls/management-api-automation.md).

If something doesn't work, see [LLS Troubleshooting and Error Codes](https://docs.nalpeiron.com/zentitle2-docs/ui-local-license-server/local-license-server-lls/troubleshooting.md).

{% hint style="success" %}
To discuss an LLS deployment with us, contact your account manager or [book a demo](https://nalpeiron.com/book-a-demo/).
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.nalpeiron.com/zentitle2-docs/ui-local-license-server/local-license-server-lls.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
