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

Installation on native Linux

Without containers, MNC runs as a group of systemd services: the Service Center with its Gateway and Jobs, the Application Center, the PKI, Identity, Messaging and the interface. systemd is the orchestrator: it starts the services in the order of their dependencies, restarts a service that fails and writes the logs to the journal. The target noritec-mnc.target groups the product.

Prerequisites​

  • Debian 12/13, Ubuntu 24.04 or RHEL 9 (and compatible) on x86-64, with systemd.
  • PostgreSQL with TimescaleDB and Redis on the same server or reachable over the network.
  • Node.js 22 or later for the interface (a dependency of the package).
  • A reverse proxy with TLS in front of the interface (port 8080) and the sign-in (port 8081). The services listen on 127.0.0.1 only.

Package source and channel​

Noritec delivers the packages through an apt and a yum repository on packages.noritec.io. There is exactly one repository per format: stable and pre-release (beta) versions lie side by side in it, and the version decides the channel. 1.4.2 is stable, 1.4.2~beta.1 is a pre-release and sorts before 1.4.2. Without a precaution, apt upgrade or dnf upgrade would offer a pre-release on every server as soon as it is newer than the stable one. That is why Noritec sets up every server with a lock that offers stable versions only (channel stable, the default). You release pre-release versions deliberately.

There are three ways to set up the package source, and they lead to the same result: way 1 with the setup package noritec-repo, way 3 by hand with three files. Way 2 with noritecctl only switches the channel once the package source is there. The commands run on Debian 12/13, Ubuntu 24.04 (apt) and RHEL 9 and compatible (dnf) and need root rights (sudo). Replace <linie> with the minor line you have licensed, for example 1.4.

Checking the key​

All packages of the package source are signed with the same key. Your server will trust its fingerprint from now on, so check it during setup. The key Noritec APT Signing <info@noritec.io> has the fingerprint:

430C 19AC E32A 69D1 839F D98D 809C CA0F C38F FE39

The command gpg --show-keys --fingerprint <file> shows it for a key file. The commands of ways 1 and 3 already contain it. If the output differs, do not set up anything further and contact Noritec.

Way 1: the setup package noritec-repo​

The package noritec-repo brings the package source, the key and the lock on pre-release versions. It lies at a fixed address in the raw repository next to the key; you need no account and no customer area for it. The steps: install the tools, download package and checksum, check the checksum, install the package, look at the fingerprint of the key and compare it with the value above, load the package lists, install the product.

Debian, Ubuntu:

# apt: noritec-repo
sudo apt install curl gnupg
curl -fsSL -O https://packages.noritec.io/repository/raw/noritec-repo.deb
curl -fsSL -O https://packages.noritec.io/repository/raw/noritec-repo.sha256
sha256sum --ignore-missing -c noritec-repo.sha256
sudo apt install ./noritec-repo.deb
gpg --show-keys --fingerprint /usr/share/keyrings/noritec-apt.gpg
sudo apt update
sudo apt install noritec-mnc-<linie>

RHEL 9 and compatible:

# dnf: noritec-repo
sudo dnf install gnupg2
curl -fsSL -O https://packages.noritec.io/repository/raw/noritec-repo.rpm
curl -fsSL -O https://packages.noritec.io/repository/raw/noritec-repo.sha256
sha256sum --ignore-missing -c noritec-repo.sha256
sudo dnf install ./noritec-repo.rpm
gpg --show-keys --fingerprint /etc/pki/rpm-gpg/RPM-GPG-KEY-noritec
sudo dnf install noritec-mnc-<linie>

After gpg --show-keys, check the fingerprint before you go on. The line noritec-repo.deb: OK or noritec-repo.rpm: OK confirms the checksum (the command reports the second file in noritec-repo.sha256 as missing and skips it). The checksum protects against a damaged download, not against a foreign server: way 1 trusts the HTTPS connection to packages.noritec.io. If you want to check the key before anything is installed, use way 3. With dnf, installing the product shows the key the first time and asks whether to import it: answer y only if the fingerprint matches the value above.

Way 2: noritecctl​

noritecctl is part of the package noritec-common, which every product package brings. For the package source it can do exactly two things, and both assume that noritec-repo (way 1) or the files of way 3 are already there:

sudo noritecctl channel # shows the channel: stable or beta
sudo noritecctl channel beta # releases the pre-release versions
sudo noritecctl channel stable # locks them again

After switching to beta, apt update with apt upgrade or dnf upgrade offers pre-release versions. If you switch back to stable, an installed pre-release stays on the server until the stable version is newer: 1.4.2~beta.1 is replaced by 1.4.2. A pre-release too runs only with a valid licence. noritecctl channel does not set up a package source, does not install or update packages and downloads nothing. It only writes the lock (the file /etc/apt/preferences.d/noritec-channel or the line excludepkgs in /etc/yum.repos.d/noritec.repo) and reports an error if the file is missing.

Way 3: by hand​

Without the package you create the same three files yourself: the key, the source and the lock. The key is contained in full in the command, so you need no download for it.

Debian, Ubuntu:

# apt: files
sudo apt install gnupg
sudo gpg --batch --yes --dearmor -o /usr/share/keyrings/noritec-apt.gpg <<'EOF'
-----BEGIN PGP PUBLIC KEY BLOCK-----

mQINBGqO84oBEADGOZvNMHqyrgBFqBFaNWGIT84WwHb3rNKOfU65dBDHk58XXKUH
NcqALZLGOdDH+reitPrNc8DlUeOHVP6hF/J52x9zq3O2WC4FBRSpYBaEGKyp0jUV
chkfebpHmkrl/yV40mN6+ea/h7jpE2Bq0xdHTnAKe25Ewbu652duXdHcHX/2UBwl
tMyLYan35SJeVdUG0rdH5sswo7B5RlCyoIqkisADQXbH+BxQZjpMgzGf1+DhjNmV
kQrjJ7RdexX6iQQsyu3qIsqh4XcunHSJxwjXjuBe8IWA+bRATvr92koMeSqgMCRN
bYIBgvvhT3FCxkllSnWHqhq0g8ClB7RAi+LNR8vUIkx4Jg33n/v6jJ+xibpDBvgD
aZA9zARb//RaP/ndevhyRRQ95eOmgzQEw9dtucQbwOWow1rcD4P4UsL6So9fN4k+
sJffZz8VMnwqMNDxrfImMpFe1cWg99DQ2PN/fRI2BOgJKPB9c0lzOYMipinqDl/9
vUs3heS88Y210vL3A5Z0Ss+wq67zCKljuqb1oHgnGE0iJ3cyB2p1DZVDgxiiFSVu
NB4KJ6nqQE/WKP5ZGjoFoqx9uPgkENOk/jMzEmM/MHIbYuLdtSsDcnEHK4PJtXeC
kLRF+4eBHxQ5LhWhIOaoMUC+GB0MHO07ZVWmnxB2MPS0gILYZswZkEELPQARAQAB
tCVOb3JpdGVjIEFQVCBTaWduaW5nIDxpbmZvQG5vcml0ZWMuaW8+iQJSBBMBCgA8
FiEEQwwZrOMqadGDn9mNgJzKD8OP/jkFAmqO84oDGy8EBQsJCAcCAiICBhUKCQgL
AgQWAgMBAh4HAheAAAoJEICcyg/Dj/457tgP/RKbi9wUl0ZDUnDeFaoEVFZMSsoj
aWeQk+BF42XxBICuwHwH6YDDnikTwJJV9fOWEIMRzu1QHgZ+WI+vKj8aUWooFgGr
CqTI/xvjN1RmB6VFbQnJx6T4wicEFK28A/itUV/en6r4ET84dGZTdRaU/5u/6iSH
9sXPK6/wzFIbiPNeHlvDWLSS/Q5kuT8aJUkbJ4bISZWLn71smTgxb6qbwZyl5r+9
LI/NnK5PQwvCjWo+9s/1bd/wR+ffa4WZ8IrPUvsG8Dc+2KtpGw5Mx8nBin7TjNNX
q9b7u3n6jrhtYulxPSfVnS/mn0FhCJ6tN2yiUTLsikHLXPoe7Gvkj8vb9tutX5HO
q4FrEl2SzWW0GFAaH7dKiHD7sn8O516tDcma+9IA2/3wms2DblB4W4gYPFS+zHPl
0u29I2ZsWaZ3KuwiH2vlN7C/rDEt/DftOfQcIngljrQtAK3lprM0tmRQbYcOmqlc
C+3niccGnopZhFgVGHi/uOaHiPHqP5p7qPOmkQdo5KkcKtxsXod8/LtJd685+qW9
K8/1V6tor/QNo0w1ktQnductqAhlNqPcXhRfQ2J1oRe+h2zfZ4JG6kUOo+awL6JM
Lu+Dg+Jx/TEL3Bbrj55vrLBjjuC4cdxBck3M7wsRsXgQeQE/LPS2YVISmhOphDsq
Kh17VAEwcDzm6Cup
=eVfO
-----END PGP PUBLIC KEY BLOCK-----
EOF
sudo chmod 0644 /usr/share/keyrings/noritec-apt.gpg
gpg --show-keys --fingerprint /usr/share/keyrings/noritec-apt.gpg
sudo tee /etc/apt/sources.list.d/noritec.list > /dev/null <<'EOF'
deb [signed-by=/usr/share/keyrings/noritec-apt.gpg] https://packages.noritec.io/repository/apt stable main
EOF
sudo tee /etc/apt/preferences.d/noritec-channel > /dev/null <<'EOF'
# noritec-channel: stable
Package: noritec-*
Pin: version /~/
Pin-Priority: -1
EOF
sudo apt update
sudo apt install noritec-mnc-<linie>

RHEL 9 and compatible:

# dnf: files
sudo dnf install gnupg2
sudo tee /etc/pki/rpm-gpg/RPM-GPG-KEY-noritec > /dev/null <<'EOF'
-----BEGIN PGP PUBLIC KEY BLOCK-----

mQINBGqO84oBEADGOZvNMHqyrgBFqBFaNWGIT84WwHb3rNKOfU65dBDHk58XXKUH
NcqALZLGOdDH+reitPrNc8DlUeOHVP6hF/J52x9zq3O2WC4FBRSpYBaEGKyp0jUV
chkfebpHmkrl/yV40mN6+ea/h7jpE2Bq0xdHTnAKe25Ewbu652duXdHcHX/2UBwl
tMyLYan35SJeVdUG0rdH5sswo7B5RlCyoIqkisADQXbH+BxQZjpMgzGf1+DhjNmV
kQrjJ7RdexX6iQQsyu3qIsqh4XcunHSJxwjXjuBe8IWA+bRATvr92koMeSqgMCRN
bYIBgvvhT3FCxkllSnWHqhq0g8ClB7RAi+LNR8vUIkx4Jg33n/v6jJ+xibpDBvgD
aZA9zARb//RaP/ndevhyRRQ95eOmgzQEw9dtucQbwOWow1rcD4P4UsL6So9fN4k+
sJffZz8VMnwqMNDxrfImMpFe1cWg99DQ2PN/fRI2BOgJKPB9c0lzOYMipinqDl/9
vUs3heS88Y210vL3A5Z0Ss+wq67zCKljuqb1oHgnGE0iJ3cyB2p1DZVDgxiiFSVu
NB4KJ6nqQE/WKP5ZGjoFoqx9uPgkENOk/jMzEmM/MHIbYuLdtSsDcnEHK4PJtXeC
kLRF+4eBHxQ5LhWhIOaoMUC+GB0MHO07ZVWmnxB2MPS0gILYZswZkEELPQARAQAB
tCVOb3JpdGVjIEFQVCBTaWduaW5nIDxpbmZvQG5vcml0ZWMuaW8+iQJSBBMBCgA8
FiEEQwwZrOMqadGDn9mNgJzKD8OP/jkFAmqO84oDGy8EBQsJCAcCAiICBhUKCQgL
AgQWAgMBAh4HAheAAAoJEICcyg/Dj/457tgP/RKbi9wUl0ZDUnDeFaoEVFZMSsoj
aWeQk+BF42XxBICuwHwH6YDDnikTwJJV9fOWEIMRzu1QHgZ+WI+vKj8aUWooFgGr
CqTI/xvjN1RmB6VFbQnJx6T4wicEFK28A/itUV/en6r4ET84dGZTdRaU/5u/6iSH
9sXPK6/wzFIbiPNeHlvDWLSS/Q5kuT8aJUkbJ4bISZWLn71smTgxb6qbwZyl5r+9
LI/NnK5PQwvCjWo+9s/1bd/wR+ffa4WZ8IrPUvsG8Dc+2KtpGw5Mx8nBin7TjNNX
q9b7u3n6jrhtYulxPSfVnS/mn0FhCJ6tN2yiUTLsikHLXPoe7Gvkj8vb9tutX5HO
q4FrEl2SzWW0GFAaH7dKiHD7sn8O516tDcma+9IA2/3wms2DblB4W4gYPFS+zHPl
0u29I2ZsWaZ3KuwiH2vlN7C/rDEt/DftOfQcIngljrQtAK3lprM0tmRQbYcOmqlc
C+3niccGnopZhFgVGHi/uOaHiPHqP5p7qPOmkQdo5KkcKtxsXod8/LtJd685+qW9
K8/1V6tor/QNo0w1ktQnductqAhlNqPcXhRfQ2J1oRe+h2zfZ4JG6kUOo+awL6JM
Lu+Dg+Jx/TEL3Bbrj55vrLBjjuC4cdxBck3M7wsRsXgQeQE/LPS2YVISmhOphDsq
Kh17VAEwcDzm6Cup
=eVfO
-----END PGP PUBLIC KEY BLOCK-----
EOF
gpg --show-keys --fingerprint /etc/pki/rpm-gpg/RPM-GPG-KEY-noritec
sudo tee /etc/yum.repos.d/noritec.repo > /dev/null <<'EOF'
# noritec-channel: stable
[noritec]
name=Noritec
baseurl=https://packages.noritec.io/repository/yum
enabled=1
gpgcheck=1
repo_gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-noritec
excludepkgs=noritec-*~*
EOF
sudo dnf install noritec-mnc-<linie>

Lifting the lock by hand (channel beta) and setting it again (channel stable):

# apt: beta
echo '# noritec-channel: beta' | sudo tee /etc/apt/preferences.d/noritec-channel > /dev/null
sudo apt update
# apt: stable
sudo tee /etc/apt/preferences.d/noritec-channel > /dev/null <<'EOF'
# noritec-channel: stable
Package: noritec-*
Pin: version /~/
Pin-Priority: -1
EOF
sudo apt update
# dnf: beta
sudo sed -i -e '1s/.*/# noritec-channel: beta/' -e 's/^excludepkgs=/#excludepkgs=/' /etc/yum.repos.d/noritec.repo
sudo dnf clean expire-cache
# dnf: stable
sudo sed -i -e '1s/.*/# noritec-channel: stable/' -e 's/^#excludepkgs=/excludepkgs=/' /etc/yum.repos.d/noritec.repo
sudo dnf clean expire-cache

The first line of each file (# noritec-channel: ...) is the marker that noritecctl channel reads. Leave it in place.

Updating and changing the minor line​

The packages carry the minor line in their name (noritec-mnc-1.4). sudo apt upgrade or sudo dnf upgrade fetches only patch versions in it (1.4.1 to 1.4.2) and, on the channel stable, no pre-release. You change to the next line deliberately, matching the purchase of the new line: sudo apt install noritec-mnc-1.5 replaces the package of the previous line, and under dnf the command is sudo dnf install --allowerasing noritec-mnc-1.5. If you name a version explicitly with apt (sudo apt install noritec-mnc-1.4=1.4.2~beta.1-1), you get it despite the lock: the lock prevents the offer, not the deliberate choice. Under dnf a locked version is refused even on explicit request.

If it does not work​

Message or observationCauseNext step
NO_PUBKEY or The following signatures couldn't be verified with apt update, or GPG check FAILED with dnfThe key is missing or is not the one of the source.Check the fingerprint (above), then set up key and source again (way 1 or 3).
Unable to locate package noritec-mnc-1.4 or No match for argumentThe package source is not set up, apt update or dnf makecache is missing, or the minor line is wrong.Look at the file /etc/apt/sources.list.d/noritec.list or /etc/yum.repos.d/noritec.repo, reload the package lists, check apt-cache policy noritec-mnc-1.4 or dnf list --showduplicates 'noritec-mnc-*'.
A pre-release is not offeredThe channel is stable. That is the lock.sudo noritecctl channel shows the channel, sudo noritecctl channel beta releases them, then apt update or dnf makecache.
Could not resolve host, Failed to connect or Connection timed outThe server cannot reach packages.noritec.io (port 443), usually because of a firewall or a proxy.Open port 443 to packages.noritec.io. Behind a proxy set Acquire::https::Proxy (apt) or proxy= in /etc/dnf/dnf.conf and use curl --proxy.

Installing​

sudo apt install ./noritec-mnc-<line>_<version>_amd64.deb # or: sudo dnf install ./noritec-mnc-<line>-<version>-1.x86_64.rpm
sudo NORITEC_SECRETS_DIR=/etc/noritec/mnc/credentials NORITEC_DATABASE_HOST=localhost NORITEC_REDIS_HOST=localhost \
/usr/lib/noritec/mnc/init-secrets.sh admin@example.com

The script creates one file per secret under /etc/noritec/mnc/credentials, readable by root only. The services receive them through LoadCredential, never as environment variables.

The script also makes the password of the first administrator (credentials/identity-admin-password): at random, 24 characters, and it meets the password rules of the identity by the way it is made (at least 8 characters, an upper-case letter, a lower-case letter, a digit, a special character). If you set one of your own, keep to these rules: if it breaks them, or a placeholder such as REPLACE-ME is left in, the identity service does not start. journalctl -u noritec-mnc-identity then shows one line with the code identity.admin-user.password-invalid (or identity.admin-user.creation-refused), the setting and the rules broken, never the password; systemctl status noritec-mnc-identity shows the service as failed or restarting. The first sign-in asks for a new password. If the file holds an invalid password, delete it and run the script again as long as there is no administrator yet.

Then create the PostgreSQL user mnc with the password from credentials/postgres-password and the databases noritec_mnc_* (names in deploy/compose/initdb/10-databases.sh of the delivery). The settings are in /etc/noritec/mnc/<service>.env, one file per service: replace example.com with your own host names. Put a licence in through the interface after the first sign-in; for an automated deployment as a file see License.

sudo systemctl enable --now noritec-mnc.target

The service does not start​

A service that cannot start because of its configuration ends with exit code 78 and writes as the last line of its log what to do: a code, the setting and what is wrong with it. A password or key is never in it. Any other failure at the start ends with exit code 1, and its stack trace stands before it.

  1. systemctl status noritec-mnc-<service>: the service shows failed with status=78; below it stand the last lines of the journal.
  2. journalctl -u noritec-mnc-<service> -n 5: the message is the last line.
  3. Correct the setting it names (in /etc/noritec/mnc/<service>.env or in the file under credentials/) and start the service with systemctl restart noritec-mnc-<service>.

The units do not restart after a configuration error (RestartPreventExitStatus=78): a restart would fail at once, and the reason stays visible in the journal. After any other failure systemd restarts the service.

Controlling and checking​

TaskCommand
Start, stop, restart the productsudo systemctl start|stop|restart noritec-mnc.target
State of all servicessystemctl list-dependencies noritec-mnc.target
Log of a servicejournalctl -u noritec-mnc-<service> -f

Every .NET service tells systemd it is ready once it has started, and keeps the watchdog only while its /alive check is healthy. When the beat stays away, systemd restarts the service. The interface counts as started once /ready answers.

Publishing a connector's listening port​

Some connectors are servers: Modbus TCP waits on port 502 for the reading system (PLC, control room), an OPC UA server on 4840. The connector binds its port inside the Application Center; it is reachable from outside only once the installation publishes it. Nothing is opened wholesale: in every operating mode the default is off, with no range published in advance and no proxy. The port is a parameter of the connector; the connector's page shows it under Status, and the Application Center keeps it unique across all connectors. Modbus TCP has neither authentication nor encryption: publish the port only into the plant network, never to the internet.

Under systemd the Application Center runs directly on the server; there is nothing to publish, only to allow:

  • Firewall: open the connector's port in the server's firewall, limited to the plant network.
  • Ports below 1024: the unit runs as a transient user without capabilities, so a connector cannot bind a port below 1024 there (Modbus TCP, default 502: "permission denied"). Two ways: set a port from 1024 up on the connector, or give the service the one capability. The repository ships the drop-in deploy/systemd/examples/applicationcenter-listeners.conf for it; it sets CapabilityBoundingSet=CAP_NET_BIND_SERVICE and AmbientCapabilities=CAP_NET_BIND_SERVICE. Install it with sudo systemctl edit noritec-mnc-applicationcenter (paste the content), then sudo systemctl restart noritec-mnc-applicationcenter. The drop-in is not part of the unit: whoever does not install it keeps the narrower unit.

Your own CA in front of the interface​

The interface calls the identity (the sign-in) from its server on the identity's public address: discovery document, token, user info and sign-out go over https:// and the name of the identity (AUTH_IDENTITY_URL). It is the process of the interface that does this, not the browser. It is the only public address the interface calls itself; its connections to the Service Center, Application Center, PKI, Messaging, Gateway and jobs run internally over http (see "Network and encryption"). Two things have to hold:

  • The name of the identity resolves and is reachable from the interface. The server of the interface must reach the public address of its own reverse proxy (hairpin).
  • The interface trusts the certificate of the proxy. If it comes from a private or company CA, Node does not know that CA and refuses the call.

When nothing needs to be done: the certificate comes from a publicly trusted CA (such as Let's Encrypt; Node ships their roots) and the name resolves. Then this section does not apply.

How to recognise it: sign-in fails, and the log of the interface says [auth/callback] sign-in failed. The cause shows in a call from the environment of the interface (command below): with a CA Node does not trust it reports UNABLE_TO_VERIFY_LEAF_SIGNATURE; if the name does not resolve, ENOTFOUND or EAI_AGAIN; if it is not reachable, ECONNREFUSED or ETIMEDOUT. 200 means all is well.

Steps:

  1. Put the certificate of the CA (PEM, the CA's certificate only, never a key) at /etc/noritec/mnc/ca.pem. The file must be readable by everyone (chmod 0644): the service runs as a transient user.
  2. In /etc/noritec/mnc/ui.env, enable the prepared line: # NODE_EXTRA_CA_CERTS=/etc/noritec/mnc/ca.pem without the #.
  3. If the name of the identity does not resolve on the server, enter it in /etc/hosts with the address of the proxy.
  4. Restart the interface: sudo systemctl restart noritec-mnc-ui. On an error: journalctl -u noritec-mnc-ui.

Afterwards run the same call; it must answer 200:

NODE_EXTRA_CA_CERTS=/etc/noritec/mnc/ca.pem node -e "fetch('https://<name of the identity>/.well-known/openid-configuration').then(r => console.log(r.status), e => console.log(e.cause?.code ?? e.message))"

Listen address of the gateway​

BSSCI (8883), SCACI (8884) and enrollment (8885) of the gateway listen on all interfaces by default, as do dispatch and scheduling between the services. Each interface has a setting ListenAddress for this: an IP address of this machine, 0.0.0.0 (all IPv4 interfaces) or * (all interfaces, IPv4 and IPv6). An address that is not a network connection of this machine stops the interface from starting, with a message naming the setting and the value.

Put the setting into /etc/noritec/mnc/gateway.env, using the same keys as the example lines there: ServiceCenter__BaseStationInterfaceService__ListenAddress (BSSCI), ServiceCenter__ApplicationCenterInterfaceService__ListenAddress (SCACI) and ServiceCenter__Enrollment__ListenAddress (enrollment); dispatch is ServiceCenter__Clustering__DispatchListenAddress (same file), scheduling ServiceCenter__Jobs__SchedulingListenAddress (jobs.env). On a machine with separate field and management networks, set the address of the field network for BSSCI, SCACI and enrollment, and 127.0.0.1 for dispatch and scheduling when all services run on this machine. The BSSCI and SCACI settings apply from the next start of the listener (restart the gateway).

Network and encryption​

The services of MNC speak plain http to each other, without TLS: the interface to the services, the services to the identity and the PKI, the gateway to the Service Center. This is intended: the protection of these connections lies in the operating mode, not in each service. The identity therefore accepts the direct http calls of the services at their endpoints (InternalHttp__Enabled, set in the settings), at the endpoints the services need (discovery document, key set, token); every other endpoint and the pages still ask for https.

Encrypted are the connections that leave the network: the browser to the reverse proxy or ingress (TLS ends there), base stations and devices at the gateway (BSSCI and enrolment, TLS with a client certificate) and an Application Center at the gateway (SCACI and its enrolment). Which connection is TLS is in the code of the services and in the settings of this operating mode; whatever is not named here is http.

Requirement on the reverse proxy or ingress: it offers only https to the outside (redirect http to https or close the port). The identity accepts http at the endpoints named, wherever it comes from; the entry of the installation is what keeps it from the outside.

Prerequisite: all services of a product run on one host. Then the traffic between them does not leave the host (with systemd the addresses 127.0.0.1 of this host). Do not spread the services of a product over several hosts; such an installation is not supported. PostgreSQL and Redis belong to the installation and, going by the settings, also speak without TLS; if they run on another machine, secure these connections in the syntax of the driver (Npgsql: SSL Mode, StackExchange.Redis: ssl=true).

Upgrading​

Install the new package. apt upgrade or dnf upgrade moves the packages of a minor line (noritec-mnc-1.4) on its own to the newest patch version of the line. A new line is a deliberate installation of its package (sudo apt install noritec-mnc-1.5, with --allowerasing under dnf), matching the purchase of the new line. The package restarts the running services in the order of their dependencies, and every service migrates its database itself when it starts. Your settings under /etc/noritec/mnc stay unchanged.

Backing up​

  • The databases noritec_mnc_*.
  • /etc/noritec/mnc with the credentials.
  • /var/lib/private/noritec/mnc, the state of the services (systemd services with DynamicUser).