self-hosting
Licensing and activation
On-prem entitlements come from a signed offline .vtlic file verified locally against a built-in vendor public key — air-gapped, with grace-window expiry and hot-reload renewal.
Updated Oct 17, 2026
A self-hosted Kutrion reads its entitlements — tier, seat count, and term — from a signed offline license file instead of the hosted billing catalog. It is verified locally, so it works fully air-gapped: nothing phones home to activate.
How licensing works on-prem
Set DEPLOYMENT_MODE=onprem (the default for the bundle) to read entitlements from a signed .vtlic
file. The file is verified locally against a built-in vendor public key, so there is no activation
call and no license server to reach.
| Variable | Purpose |
|---|---|
DEPLOYMENT_MODE=onprem | read entitlements from the offline license; saas opts out |
LICENSE_PATH | path to the .vtlic file (mounted into the container, e.g. /data/license.vtlic) |
LICENSE_STATE_PATH | durable store for the monotonic anti-rollback counter; point at a persistent volume |
Place the issued license.vtlic in the host directory bind-mounted to /data (by default
deploy/onprem/license/); the anti-rollback counter state persists alongside it.
What the license grants
Besides tier, seats and term, a license can carry two optional claims. Each is part of the signed claims, so an operator cannot add or change one without invalidating the signature.
private_modedecides whether an organization can be switched to Private vault (the org’svault_mode). A license without it keeps every organization in Connected vault, whatever its tier, and an owner’s attempt to choose Private vault is refused with a message saying the deployment’s license does not include it. With the claim, the same rules as the hosted service apply: Private vault is offered to the owner of a personal organization on a FREE or PRO license tier.limitssets per-deployment values fordevices,file_connections,items,attachment_bytes,concurrent_sessions,ai_requestsandfile_protocols, under the same names as the hosted plans. A key the license leaves out keeps the tier’s default;nullmeans unlimited (forfile_protocols, every transport).
The vendor sets both when issuing the license, with --private-mode and --limit key=value. A
license with a malformed claim is rejected as malformed. When the license lapses past its grace
window, both claims stop applying along with the rest of the paid terms.
Signature: Ed25519, optionally quantum-safe composite
The .vtlic is signed by the vendor and verified locally. Two signature algorithms are supported:
- Ed25519 — the baseline signature, verified against the built-in vendor public key.
- Ed25519 + ML-DSA-65 composite — a quantum-safe option (
alg=ed25519+ml-dsa-65) that verifies only if both signatures hold. Ed25519-only licenses still verify, so moving to the composite is a key rotation, not a flag day.
Override the built-in verification keys (LICENSE_PUBLIC_KEY, LICENSE_MLDSA_PUBLIC_KEY) only for key
rotation. See Keys and licensing config for the full variable set.
Boot enforcement and expiry
Under NODE_ENV=production the server refuses to boot if the license is missing, malformed, forged,
or rolled back — that is, presenting an older counter than the last one seen. The anti-rollback counter
in LICENSE_STATE_PATH is monotonic, so a replayed or downgraded license is rejected even offline.
An expired license is not a hard outage. It is honored through a shared grace window, then lapses to free-tier limits — a late renewal degrades gracefully rather than taking the install down. The distinction is deliberate: a forged or rolled-back license is fatal at boot; an honestly expired one degrades.
Installing a renewal
Install a renewal through the admin console, which calls the admin API. Do not copy a licence file into the license directory by hand: the server checks the signature and the anti-rollback counter before it writes anything, and a hand-swapped file skips that.
Admin console (no restart). Sign in to the admin app and open the License view. It
shows the current lease — tier, seats used and sold, days to expiry, grace — and accepts the renewed
.vtlic pasted in. The server re-verifies the signature and the anti-rollback counter before
writing the file, then hot-reloads entitlements with no SSH and no restart. The action is step-up
gated and audited.
With LICENSE_BIND_MASTER=1, the vault key is bound to the installed license, so installing a different
license is refused and the console says so. The vault and the current license are left unchanged. Renew
offline instead: stop the server, run renew-bound-license --license <new.vtlic> --out <file> with the
server’s environment, set BOUND_MASTER_CIPHERTEXT to the value it prints, and start the server. Never
replace the license file by hand.
Evaluation licence
To try a self-hosted Kutrion before buying, request an evaluation licence from the /evaluate page of the
Kutrion web app. This is a hosted request: your server never calls out for it.
- Enter your organization, a work email address, and what you will evaluate it for. Your email address, organization and purpose are passed to Gautam Lab, the company behind Kutrion, so that its team can follow up.
- Kutrion emails a six-digit code to that address. The code expires after 15 minutes, allows five wrong tries, and the page rate-limits repeated requests.
- Enter the code. The page shows the dates the licence is valid and a Download license file button. A copy is also emailed to the address, for a server that is not connected to the internet.
- On a first install, place the file at the path set in
LICENSE_PATHbefore the server starts. To replace a licence later, use the License view in the admin console, as described under renewals above.
What an evaluation licence allows:
- The ENTERPRISE tier, with up to 25 seats.
- A term of 31 days, counted from one day before issue so that a slow clock on an isolated server still loads it. After expiry the usual grace window applies (7 days), then the install lapses to free-tier limits.
- A server at version 1.2.10 or later. Older servers do not know the evaluation signing key and refuse the file with a message naming the key.
- It cannot back a bound master key. With
LICENSE_BIND_MASTER=1the server refuses an evaluation licence, so install a purchased licence before binding.
One evaluation is issued per email address; addresses that differ only by a +tag count as the same. Asking
again while the licence is current re-sends the same file to the original address. Asking again after it has
expired does not issue a new one: it records an extension request that the Gautam Lab team follows up.
Single sign-on after the licence lapses
SSO is a licensed feature, so it stops with the rest of the paid terms once the grace window ends. On a self-hosted deployment there is one extra allowance, because an offline renewal can take time. For 14 days after the grace window ends, a member who has already signed in through the organization’s identity provider can still do so. The allowance does not create accounts and does not link new identities, so a person who has never signed in through SSO cannot start now. It is measured from the licence expiry alone, so it cannot be extended and it does not restart when the server restarts. An organization for which SSO was switched off by an override gets no allowance. Each such sign-in is audited with the days remaining.
The License view in the admin console shows where the deployment sits in this timeline, and lists organizations that use SSO but have no owner or admin who can sign in with a password or passkey. Give those organizations a non-SSO administrator before the licence lapses, or the only way back in after the window ends is a renewed licence.
Issuing is a vendor operation
Issuing and renewing a license is a vendor-side offline operation — the signing private key never leaves
the vendor’s signer. Operators receive an issued .vtlic file; they do not generate one. This keeps the
trust root off every customer host while letting verification happen entirely offline.
Next
- Keys and licensing config — every licensing variable.
- Air-gapped install — offline install, including offline license verification.
- SSO and SCIM - including verifying a tenant domain without DNS.
- Backups and recovery — optional license-bound master key and escrow.