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

Enrollments

An enrollment is a device's request to be admitted into this network. It concerns the devices that need an identity from this system before they may speak at all: Base Stations and Application Centers. The sensors in the field do not go through this screen but through registration.

The sequence is always the same:

  1. The device opens a connection and identifies itself with its factory certificate — the identity the manufacturer gave it.
  2. This system trusts the factory certificate because it knows the issuing authority as a trust anchor, but it does not know the individual device. It therefore records a request and leaves the device waiting.
  3. A person decides: approve or reject.

As long as nobody decides, the request stays on "Awaiting decision" and the device takes no part in the network. That is the point of the exercise: a factory certificate states who a device is, not that it belongs here. A device somebody walked out of the warehouse with has an impeccable factory certificate.

What the list shows​

By default only open requests are visible; the "State" column also brings up the decided ones.

StateWhat it means
Awaiting decisionThe device is at the door.
IssuedApproved; the device received an identity from this system.
DeniedA person rejected the request.
RejectedThe system itself did not accept the request, for instance because the factory certificate could not be validated.
RevokedWas issued; the Application Center it admitted has been retired. If it turns up again with the same identity, that is a new request for you to decide.

Each request states the role (Base Station or Application Center), the factory certificate, its thumbprint, the serial number, the EUI — where stated — and the time of arrival.

Two requests for one EUI​

If the same device turns up again with another certificate — after a reset, after a re-flashed image —, a second request comes into being: a new certificate is a new decision. The list then holds two open requests for one EUI. The older one carries the note "Newer enrollment waiting" next to its state, and when it is approved or rejected the note is said again in the dialog. The newer one does not carry it.

The note decides nothing. The older request is neither rejected nor hidden, and both can be approved or rejected; which one is current shows in the thumbprint and the time of arrival. Once the newer one is decided, the note on the older one disappears. A request without an EUI never carries it, because there is nothing by which two requests could be recognised as the same device.

Only a request that is itself still open carries the note; a request decided already is nothing that could be approved by mistake. If the newer request arrives while the dialog of the older one is open, the note appears in the dialog. And if the answer to a decision says that a newer request is waiting for this EUI, that is said above the list afterwards, until the newer one is decided too.

Approving​

On approval this system issues the device an identity of its own: a certificate from this installation's PKI, with a profile of this installation. The device is handed it and uses it from then on instead of the factory certificate.

The device then takes part in the network. For a Base Station that means it opens its BSSCI connection and appears in the list of Base Stations. For an Application Center: it connects and starts receiving data from the devices assigned to it.

The step is therefore no formality but the point at which a foreign device becomes a device of this network. Before the decision, the request shows what there is to check: the factory certificate and its thumbprint. The thumbprint is what can be compared against the delivery note or the label on the device — the name in the certificate is not, because a name can be asked for.

The identity issued can be revoked in the PKI at any time later. An approval is reversible; it is only not reversible unnoticed.

Why an EUI can be missing​

The EUI is the address a device appears under in the Mioty network. A factory certificate need not contain it — many manufacturers put a serial number and a model name there but no EUI, because the certificate was created before the EUI was assigned, or because it is meant for other networks as well.

If the factory certificate states no EUI, the approval dialog asks for one. Without it the device cannot be approved: there would be no address to reach it under afterwards, and the issued identity could not be tied to anything.

What to enter is printed on the device or on the delivery note: 16 hex characters, usually beginning with the manufacturer's prefix. Separators are allowed — colons, hyphens and spaces are taken as they stand on the device (see How an EUI is written). The EUI is thereby fixed for good and determines how the device appears in every further list. An EUI entered wrongly can only be corrected by revoking the issued certificate and letting the device knock again.

If the factory certificate does state an EUI, it is adopted and not offered for editing. What a device can prove about itself is not overwritten by hand.

Rejecting​

On rejection the request is recorded together with its reason. The reason is not a free-text field for the file but the only account of why a device is not in the network — and the question is as a rule asked by somebody else, weeks later, standing in front of the cabinet.

A rejected device can knock again; a new request then comes into being. Rejecting therefore does not bar the device permanently, it decides this one request. To keep a device out for good, withdraw trust from its issuing authority in the PKI.