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

Connection to the Service Center

An Application Center has exactly one connection everything else depends on: the one to the Service Center. Devices are registered over it, telegrams arrive over it. If it is not up, nothing moves — and without a fault appearing anywhere, because an Application Center that is currently not connected does precisely the right thing by waiting.

That is why the state of this connection is at the top of the overview, and why the reason is there too whenever it does not come up.

The four states​

StateWhat it means
ConnectedThe handshake is complete. Devices are being registered, telegrams arrive.
ConnectingThe handshake is in progress.
ReconnectingThe connection dropped or never came up. The Application Center waits out its backoff and tries again — with a growing gap, so a Service Center that is permanently unreachable is not hammered.
DisconnectedNothing is being attempted: before start, after stop, or while no identity exists yet — then the box beside it says what the enrollment is waiting on (see enrollment).

"Reconnecting" is neither a fault nor a reassurance. It says only that waiting is going on. If a red box stands beside it, that box says why the last attempt failed, and it stays there for as long as the reason holds — it is a state, not a message somebody can have missed.

The small single-language line inside the box is the wording from the operating system or from the certificate check. It is not translated, because it is what one copies into a support question.

Enrollment: Disconnected before there is a connection​

An Application Center connects only once it has an identity. It gets one by enrolling at the Service Center; until then the connection stands at Disconnected, and the box beside it says why:

  • Waiting for approval (yellow): the enrollment lies in the Service Center under Device Enrollments and waits for a decision. Nothing is broken. Once it is approved, the Application Center fetches its certificate on its next attempt and connects by itself; the box disappears.
  • Refused: the Service Center refused the enrollment. The Application Center tries again at intervals; if the refusal stands, the decision is to be checked in the Service Center.
  • Did not get through: the enrollment got no usable answer — the address does not answer, its certificate was refused, or the stored identity cannot be read. The small text below says exactly what; the Application Center tries again at intervals.

The same statement is in GET api/application-center/v1/status (failureKind: EnrollmentPending, EnrollmentRejected, EnrollmentFailed) and in the health check service-center.

The certificate does not match the stored chain of trust​

"The peer presents a certificate that does not match the stored chain of trust."

This sentence is the most important one on this page, because it is the only one that is not about a network problem.

An Application Center does not check the Service Center's certificate against the operating system's certificate store. It checks it against exactly one trust anchor: the Root CA stored during enrollment. That is deliberate. Without that pin, anybody holding a publicly issued certificate for the right host name could impersonate the Service Center — and would be handed the devices' network keys.

So when this sentence appears, the pin has worked. There are two readings, and they are not equally weighted:

  1. The peer is not the one this Application Center enrolled with. Then the refusal is exactly what the anchor is for, and there is nothing to do but check which address is configured.
  2. The Service Center was reinstalled and has a new Root CA. Then this Application Center's identity is stale and it has to enroll again. The handgrip for that is in the next section.

There is no button that decides this. The surface cannot tell the two readings apart — it sees the same thing in both cases — and an automatism that resets the identity when in doubt would do exactly what the anchor exists to prevent in the first case.

What is checked besides the chain: who the Service Center is. The chain only says that this installation issued the certificate. The same installation also issues the certificates of the Base Stations and of the other Application Centers, and those must not pass for the Service Center. So the Application Center checks, on every connection and at enrollment, without the operator doing anything:

  1. Usage: The certificate has to be issued for server authentication. A Base Station's or an Application Center's certificate is not.
  2. Identity: The certificate has to name the EUI of the Service Center this Application Center was enrolled at (urn:eui64:<EUI> among the alternative names, written by the PKI from the enrollment). The Application Center keeps that EUI beside the trust anchor at enrollment, in ac-sc-eui.txt. The Service Center's certificate carries no host name, on purpose: only the operator knows the names of a plant, and an IP address is never in it.
  3. Agreement: The EUI the Service Center names in its answer to the connect (scEui) has to be the certificate's, or the Application Center closes the connection.

If anything differs, the red box says what was expected and what the certificate names (reason "Certificate rejected"). There is no setting that switches these checks off; TrustAnyServerCertificate stays a development switch and does not lift an anchor that is set. Whoever reaches the Service Center under a name it carries in its certificate can demand that name as well with ApplicationCenter:ServerCertificateName.

  • Without enrollment (the anchor comes as a file, ApplicationCenter:ServerCaCertificatePath) there is no stored EUI: ApplicationCenter:ServiceCenterEui, the EUI-64 of the Service Center, is required. A ServiceCenterEui that is set also takes precedence over a stored one.
  • The Service Center was replaced (new EUI, same Root CA): The box names the new and the expected EUI. If that is intended, ac-sc-eui.txt in the identity directory is deleted (the next connection keeps the new one and warns) or ApplicationCenter:ServiceCenterEui is set. If it is not intended, the refusal is what the check is for. With a new Root CA the handgrip in the next section applies.

Restart: the identity survives on disk, the trust anchor does not​

This situation arises routinely in a development or test environment, and once after a genuine reinstall of the Service Center:

The databases are new, the files are not. An Application Center's identity does not live in the database but on disk — ac-bootstrap.pfx, ac-enrolled.pfx, ac-ca.pem and ac-sc-eui.txt, on Windows under %LOCALAPPDATA%\Noritec\Mnc\ApplicationCenter. When the stack is rebuilt, the old Root CA goes with the old data; the files beside it stay and keep pointing at it. The Application Center then refuses the new Service Center, correctly and permanently.

How to tell it from a network problem before deleting anything: the red box names the chain of trust, not reachability — and at the Service Center, under Enrollments, there is no pending enrollment for this Application Center. If one is waiting there, nothing is broken: the approval is simply missing.

The handgrip, in this order:

  1. Stop the Application Center.
  2. Delete ac-bootstrap.pfx, ac-enrolled.pfx, ac-ca.pem and ac-sc-eui.txt in the directory named above. The connectors and instance-data directories beside them stay — they hold the installed Plugins and their Connectors' state, which has nothing to do with the identity.
  3. Start the Application Center again. It re-enrolls with its factory identity.
  4. Approve the enrollment at the Service Center under Enrollments.

The connection then reads Connected and the devices are registered — the reconciliation runs by itself as soon as there is a session.

While the connection is not up, every End Point stays Pending. That is not a fault of the device and is therefore not recorded against it: the reconciler breaks off its round as soon as there is no session and picks it up again as soon as there is one. Anybody wondering why nothing is moving in the End Point list finds the answer here rather than there.

The simulator's station identities live one level down and have the same problem (%LOCALAPPDATA%\Noritec\Mnc\Simulator\stations). If no Base Station connects after a rebuild, the cause is the same; there, the stations directory is deleted and the simulator restarted. The manufacturer CA beside it stays — the PKI still trusts it.

Change history of the settings​

At the bottom of the overview stands what became of this Application Center's settings: one row per change with the time, who changed it, the setting, the kind of change and the old and the new value. The latest change is at the top. A row stays for ninety days.

An Application Center has no settings that can be changed in the user interface. What it keeps is its identity: the EUI it presents to the Service Center, and the vendor prefix it was drawn under. So the list shows above all when the Application Center created these two values — and every later change to them, which nobody would notice otherwise.

  • Changed by names the account by its display name. An account that no longer exists is shown as a deleted user; the row stays. What the service did itself carries its name: "Application Center" for what it writes while running, "Application Center (default at start)" for values it creates at startup, "Application Center (clean-up)" for retiring and deleting.
  • Setting is the key in words, for example EUI · Value. The full key is in the hint under the pointer, the section in a column of its own as soon as there is room.
  • Kind is "Created", "Changed", "Retired", "Active again" or "Deleted". A setting is retired when the running version of the service no longer has it. Its value is kept for thirty days and comes back if the setting does; after that it is deleted.
  • "Value withheld" stands in place of a value when the setting is a secret or was deleted for good. The history then records that something changed, when, and by whom — never the value itself.

The search finds a part of the key or of the section, never a value. A filter narrows to one setting or to a time range: 24 hours, 7 days, 30 days, or typed a day (2026-11-10) or two days (2026-11-01..2026-11-10), the second included. Typed days are days in UTC. The timestamps are in UTC; the switch beside them shows them in the time zone from the profile. The list shows five rows per page, so that it does not push the state of the Application Center off the screen; below it, pages can be turned and a larger page chosen.