Preview: this product has not been released yet. The description may change before release.
Skip to main content

Putting a license in

MSC cannot be used without a valid license. That includes a fresh installation: it starts anyway, is ready, and takes a license in. This is the same in every operating mode.

What you see without a license​

  • The services run and answer their probes: /alive and /ready with 200. /health names the check license as unhealthy, /status names the reason, for example license.missing (no license), license.invalid (signature or content wrong), license.not-bound (made for another installation), license.expired (ended).
  • Every business request to the Service Center is answered with 402 and the reason.
  • The radio interfaces accept no connection, no connector runs, no business job runs.
  • The interface shows a statement with the reason instead of the pages of the locked center and leads to the license page.

The probes and the status, the license page, identity, PKI and messaging, and the clean-up jobs that deliver nothing keep running. Nothing is deleted: with a valid license everything runs again, without a restart.

Putting a license in​

The standard way is the interface. After you have set the password at the first sign-in, a step "Put a license in" appears; you can skip it with "Later" and use the interface. The functions that need a license then do not work until a license releases them: the services that need a license report license.missing. You find the same action later under License: "Put a license in". You need the permission license.install for it; without it the page shows the state but not the action. The license takes effect without a restart.

Option for an automated deployment: the file. License__File is not set by default. Whoever delivers the license with the deployment turns on the file way, equally for all services that need a license (servicecenter, gateway, jobs): with Docker Compose through compose.license-file.example.yaml and the file ./license/license.json, with Kubernetes through licenseFile.enabled=true and the secret msc-license (the file license.json), on Linux by uncommenting the line License__File in the settings of these services under /etc/noritec/msc and putting the file /etc/noritec/msc/license.json in place. The services read the file at every check; a restart is not needed. While the file is set, an upload through the interface is refused (409), and a missing file reports license.file-unreadable.

The license is bound to the installation id of your installation (License:InstallationId, a secret of the installation in every operating mode); the license page shows it.

What the check proves​

The proof that the lock holds is a stack test that runs before every release: it starts the software without a license, with a broken signature, with a foreign binding and with an expired trial license, and checks that every business request returns 402, the radio interfaces accept nothing, the probes answer, and a valid license opens it without a restart. Not covered by this test are the perpetual license with ended updates (it is valid on every build released within the updates; covered by the tests of the license library) and the behavior of the jobs (covered by the tests of the centers).