> ## Documentation Index
> Fetch the complete documentation index at: https://docs.leamout.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Licensing

> Verify and install signed offline licenses for a self-hosted deployment.

The current CLI can verify and install a signed offline license against the local deployment identity.

Verify without installing:

```bash theme={null}
sudo leamout license verify \
  --artifact license.json \
  --keyring keyring.json
```

Install after verification:

```bash theme={null}
sudo leamout license install \
  --artifact license.json \
  --keyring keyring.json
```

The verifier uses an Ed25519 public-key keyring, validates the license against the durable deployment ID and current time, and reports the license ID and validity timestamp. Installed material is stored under `/etc/leamout/license/` with restrictive permissions.

<Warning>
  The keyring is trust material. Obtain it through a signed release channel or another authenticated out-of-band channel. A keyring delivered by the same untrusted source as a license artifact does not establish authenticity.
</Warning>
