Site PKI: certificates for every Kindred network link
How a Node gets, checks, renews and replaces the certificate it uses to prove it belongs to a site. Every
command in a bash block below is run by tests/test_site_pki_operations_doc.py against a clean home
directory, so this page cannot drift from the scripts.
Contents: The model · Where each script runs · Default flow · Adding more Nodes · Your own PKI · Lab mode · Checking certificates · Reload hooks · Renewal · Replacing the CA · CA key custody and backup · Compromise response · Pitfalls
The model
Whatever its source, a Node consumes exactly three files:
| File | What it is |
|---|---|
node.crt |
The Node's leaf certificate, followed by any intermediate CA certificates |
node.key |
The Node's private key (ECDSA P-256, mode 0600) |
trust-bundle.pem |
The CA certificate(s) the Node trusts: the site's trust anchor. Every entry must be a CA certificate |
A Node trusts the CA, not a list of other Nodes' certificates. Adding a Node means issuing one leaf; renewing one touches no other Node; and any two Nodes can authenticate each other, with no per-peer certificate to distribute.
A Node's identity is a URI in the certificate's Subject Alternative Name, urn:kindred:<site>:<node-instance>.
The certificate proves the Node belongs to the site. Which Node may ask which peer for what stays with the
existing peer configuration, not the PKI.
Every certificate carries both serverAuth and clientAuth, because a Node is both ends of a link. Every
check, whatever produced the certificate, is engine/pki.py: not expired, not yet valid, chains to the
trust bundle (whose entries must all be CAs), key matches the certificate, exactly one Kindred identity
present, both key usages present. Each failure has its own error name.
Revocation is by short lifetime and trust-bundle replacement, not CRL or OCSP, which are often
impractical on an OT network. Leaf certificates last about a year (LEAF_DAYS, default 365); a CA lasts
ten (CA_DAYS, default 3650). Both must be a whole number of days from 1 to 999999, with no leading zero.
Kindred does not operate a CA. The site CA lives with you.
Where each script runs
| Script | Runs on | Purpose |
|---|---|---|
create_site_ca.sh |
Workstation | Create the site CA |
issue_node_certificate.sh |
Workstation | Issue a Node's key and certificate |
renew_node_certificate.sh |
Workstation | Replace a Node's key and certificate, same names |
replace_site_ca.sh |
Workstation | Replace the CA in three steps |
generate_node_csr.sh |
Node | Make the Node's key and a CSR (your own PKI) |
install_node_certificate.sh |
Node | Validate and install files, then run reload hooks |
create_lab_certificate.sh |
Node | Self-signed certificate for test and lab use |
The workstation is the integrator's own machine or a provisioning host. The CA key never goes on a
Node: a Node that held it could issue certificates for the whole site. No Node provisioning script
(provision_node.sh and the install scripts it chains) touches the CA, and a test enforces that.
All commands are run from the root of a checkout of this repository. The scripts need bash and openssl, plus python3 only to validate an IPv6 address. The examples run both roles on one
machine so they can be tested: where a real site copies files from the workstation to a Node (scp, a
USB drive), the examples read them in place, and each Node's files go to a directory named by
KINDRED_NODE_PKI_DIR (default ~/.kindred-node-pki). The site CA lives under KINDRED_PKI_DIR
(default ~/.kindred-pki).
Default flow: a Kindred-generated site CA
Create the CA once per site. The site name becomes part of every identity; it starts with a letter or
digit and uses only letters, digits, ., _ and -.
deployment/create_site_ca.sh plant1
This writes ~/.kindred-pki/plant1/ca.key (mode 0600), ca.crt and trust-bundle.pem. Running it again
leaves an existing CA untouched.
Issue a Node's certificate. --dns and --ip add the Node's name and address to the certificate;
both are repeatable.
deployment/issue_node_certificate.sh plant1 erp --dns erp.plant.local --ip 10.0.0.21
This writes node.crt, node.key and trust-bundle.pem under ~/.kindred-pki/plant1/nodes/erp/. Running
it again keeps a valid certificate; if the existing one is expired, from another CA, or lacks a name you
now ask for, it stops and tells you to add --force, which issues a new key and certificate.
Install the three files on the Node. Installation validates them first and replaces nothing if any check fails:
KINDRED_NODE_PKI_DIR=~/nodes/erp deployment/install_node_certificate.sh plant1 erp \
--cert ~/.kindred-pki/plant1/nodes/erp/node.crt \
--key ~/.kindred-pki/plant1/nodes/erp/node.key \
--ca-bundle ~/.kindred-pki/plant1/nodes/erp/trust-bundle.pem
Adding more Nodes to a site
A site has one CA, and every Node in it gets its own leaf certificate from that CA. Adding a Node never
creates a CA: you issue one more leaf. create_site_ca.sh leaves an existing CA unchanged, so it is safe to
run again, and issue_node_certificate.sh does the rest. A step-by-step version with the rest of the Node
setup is in the walkthrough (integrator-walkthrough.md).
deployment/create_site_ca.sh plant1
deployment/issue_node_certificate.sh plant1 line-2 --dns line2.plant.local --ip 10.0.0.22
KINDRED_NODE_PKI_DIR=~/nodes/line-2 deployment/install_node_certificate.sh plant1 line-2 \
--cert ~/.kindred-pki/plant1/nodes/line-2/node.crt \
--key ~/.kindred-pki/plant1/nodes/line-2/node.key \
--ca-bundle ~/.kindred-pki/plant1/nodes/line-2/trust-bundle.pem
Nodes already installed need nothing: they trust the CA, not each other's certificates, so the new Node
authenticates to them as it is. Every Node of a site holds the same trust-bundle.pem, which cmp confirms:
cmp ~/nodes/erp/trust-bundle.pem ~/nodes/line-2/trust-bundle.pem
Always issue from the same CA: the same workstation and the same KINDRED_PKI_DIR, or a copy restored from
the backup (below). A create_site_ca.sh run on a workstation that does not hold
the site's CA creates a different CA under the same site name, and nothing warns you, because the script
cannot know. Nodes holding the first CA's bundle would reject certificates from the second.
Externally managed PKI
If the site already runs its own certificate authority, the Node generates its key and a certificate signing request, so the private key never leaves the Node. Only the CSR goes to your CA.
KINDRED_NODE_PKI_DIR=~/nodes/mes deployment/generate_node_csr.sh plant1 mes --dns mes.plant.local
This writes node.key and node.csr and asks for the identity urn:kindred:plant1:mes, the DNS name, and
both key usages. Running it again reuses the existing key (add --force for a new one).
Your CA signs the CSR by its own process. The certificate it returns must keep the Kindred identity in
the SAN, carry both serverAuth and clientAuth, and include an Authority Key Identifier, which standard
CAs add by default. For illustration only, this stands in for your CA: a throwaway CA, and signing the CSR
the way a CA configured for Kindred would.
mkdir -p ~/site-ca
openssl genpkey -algorithm EC -pkeyopt ec_paramgen_curve:P-256 -out ~/site-ca/ca.key
openssl req -x509 -new -key ~/site-ca/ca.key -sha256 -days 3650 -subj "/CN=Example Plant CA" \
-addext "basicConstraints=critical,CA:TRUE" -addext "keyUsage=critical,keyCertSign,cRLSign" \
-addext "subjectKeyIdentifier=hash" -out ~/site-ca/ca.crt
printf '%s\n' "basicConstraints=critical,CA:FALSE" "keyUsage=critical,digitalSignature" \
"extendedKeyUsage=serverAuth,clientAuth" \
"subjectAltName=URI:urn:kindred:plant1:mes,DNS:mes.plant.local" \
"subjectKeyIdentifier=hash" "authorityKeyIdentifier=keyid" > ~/site-ca/leaf.ext
openssl x509 -req -in ~/nodes/mes/node.csr -CA ~/site-ca/ca.crt -CAkey ~/site-ca/ca.key \
-CAcreateserial -days 365 -sha256 -extfile ~/site-ca/leaf.ext -out ~/site-ca/mes.crt
Install what your CA returned: the signed certificate, plus the CA certificate(s) as the trust bundle.
If your CA signs through an intermediate, also pass the intermediate(s) with --chain and the root as
the bundle.
KINDRED_NODE_PKI_DIR=~/nodes/mes deployment/install_node_certificate.sh plant1 mes \
--cert ~/site-ca/mes.crt --ca-bundle ~/site-ca/ca.crt
The result is the same three files and passes the same validation as the default flow. A certificate for another key, from a CA that is not in the bundle, or with the wrong identity is refused and nothing changes.
Lab mode: test and lab only
A lab certificate is self-signed, and every peer pins it. That does not scale (N Nodes each hold N-1
certificates, and every rotation touches all of them), so it exists only for test and lab environments.
It needs an explicit --lab-mode, and it is refused when PRODUCTION_MODE is true, unset, or not a
boolean: a Node provisioned by provision_node.sh can never create one. Production mode is read as
the application reads it, from the PRODUCTION_MODE environment variable, then the env file
(KINDRED_ENV_FILE, default .env in the repository).
PRODUCTION_MODE=false KINDRED_NODE_PKI_DIR=~/nodes/lab-a \
deployment/create_lab_certificate.sh plant1 lab-a --lab-mode
PRODUCTION_MODE=false KINDRED_NODE_PKI_DIR=~/nodes/lab-b \
deployment/create_lab_certificate.sh plant1 lab-b --lab-mode --pin ~/nodes/lab-a/node.crt
PRODUCTION_MODE=false KINDRED_NODE_PKI_DIR=~/nodes/lab-a \
deployment/create_lab_certificate.sh plant1 lab-a --lab-mode --pin ~/nodes/lab-b/node.crt
Lab mode refuses a directory an install has laid out (its files are links into generations/). Lab files are written one at a time (each atomically), not as one set as an install on a real Node is: if a run is interrupted between them, the pair fails validation, and running the command again regenerates it. --pin adds a peer's certificate to the Node's bundle. Re-running only adds pins, never drops one, and
keeps the Node's own key; --force replaces the Node's own certificate and key.
Validating a lab certificate also needs --lab-mode, and is refused in production:
PRODUCTION_MODE=false poetry run python -m engine.pki_cli check --lab-mode \
--cert ~/nodes/lab-b/node.crt --key ~/nodes/lab-b/node.key --bundle ~/nodes/lab-a/trust-bundle.pem
Checking certificates
status reports each certificate (the leaf and every CA in the bundle) with its subject, identity, expiry,
days remaining, and whether it is inside the 30-day warning window. It reports an expired certificate as
expired instead of failing.
poetry run python -m engine.pki_cli status \
--cert ~/nodes/erp/node.crt --key ~/nodes/erp/node.key --bundle ~/nodes/erp/trust-bundle.pem
status takes --warning-days to change the length of the warning window (default 30), and, like check,
--env-file (default .env) to say where PRODUCTION_MODE is read from. engine.pki_cli has a third
subcommand, create-lab-certificate (--dir, --site, --node, repeatable --dns, --ip and --pin,
--days, default 365, and --force), which is the lab-mode certificate creation described above and is
refused in production.
The management API reports the same thing for the Node it runs beside: GET /v1/status carries
certificate_status (see management-api.md), read from the installed files on every
call, so a renewal shows at once.
check is the validation installation runs. It exits non-zero with the error name on a problem:
poetry run python -m engine.pki_cli check --identity urn:kindred:plant1:erp \
--cert ~/nodes/erp/node.crt --key ~/nodes/erp/node.key --bundle ~/nodes/erp/trust-bundle.pem
| Error | Meaning |
|---|---|
CertificateExpiredError / CertificateNotYetValidError |
Outside its validity period |
ChainNotTrustedError |
Does not chain to the trust bundle (also names an expired CA in the bundle) |
KeyMismatchError |
The key is not the one the certificate was issued for |
IdentityError |
No urn:kindred:<site>:<node> SAN, more than one, a malformed one, or not the expected one |
TrustBundleError |
The trust bundle is empty or holds something that is not a CA certificate |
KeyUsageError |
Missing serverAuth or clientAuth |
LabModeRefusedError |
Lab mode requested in production |
CertificateLoadError |
A file is missing, unreadable, or not valid PEM |
Reload hooks
After install_node_certificate.sh changes any file, it runs every executable in the Node's reload
directory ($KINDRED_NODE_PKI_DIR/reload.d, or KINDRED_RELOAD_DIR) in name order, with
KINDRED_NODE_PKI_DIR set. A service that can reload certificates without restarting (a broker's SIGHUP)
does that from its hook; a service that cannot restarts from its hook. Nothing runs if nothing changed.
mkdir -p ~/nodes/erp/reload.d
printf '%s\n' '#!/usr/bin/env bash' 'echo "reloading services from $KINDRED_NODE_PKI_DIR"' \
> ~/nodes/erp/reload.d/10-example
chmod +x ~/nodes/erp/reload.d/10-example
A Node that talks to its peers over mutual TLS reloads from SIGHUP. link_node_reload_hook.sh links the
hook that sends it into reload.d (provision_node.sh runs it; it is safe to run again):
deployment/link_node_reload_hook.sh
ls -l ~/.kindred-node-pki/reload.d
reload_node_tls.sh reads the Node's pid from $KINDRED_NODE_PKI_DIR/node.pid (or the file named by KINDRED_NODE_PID_FILE, which it needs when it is not run as a reload hook). It signals the process only if its command line matches one of the entry points that reload: engine.node_main, engine.erp_main or engine.production_scheduling_main. Set KINDRED_NODE_PROCESS_MATCH for a Node started another way.
- PLC / Generic Device. Its entry point is not among them. It has no peer traffic and no certificate to reload, and a
SIGHUPwould end it. A pid file that names it is answered with "nothing to reload" and success. - Node not running. Nothing is signalled, and the hook succeeds.
- Some other live process. A pid file that names some other live process fails the hook, so the install reports that a reload is owed.
- After a renewal. The Node validates the new files itself and keeps the old ones if they are wrong, so check its log after a renewal. See
communication-interface.md.
If a hook fails, the others still run and the script exits 3. The certificate is installed, and only a reload is owed. Fix the service and run the same install command again. It retries the hooks, once, and then reports nothing changed.
The management API needs no hook: it checks the installed files on every connection and rebuilds its certificate when they change (it resolves one generation per read, so it never straddles a switch).
Atomic installs
Installation switches the Node's files atomically.
node.key,node.crtandtrust-bundle.pemin the Node's directory are links into one complete set undergenerations/, reached through a singlecurrentlink.- An install builds and validates a whole new set, then switches
currentwith one rename. After any interruption (the next run discards an unfinished set), the three files are one consistent set, never a certificate paired with the wrong key. - The set that was live before an install is kept as
previousuntil the next install, so a bad certificate can be backed out by pointingcurrentat it. - That set holds the old private key. After a key compromise, install with
--purge-previousto delete it once the new set is in place.
One limit worth knowing. Each open of a file resolves current afresh, so a service that opens the key and the certificate in two separate steps could, in principle, straddle the instant of the switch. That is why a service should reload from its reload hook (which runs after the switch), not on a timer of its own. The exception is a service that, like the management API, resolves current once and reads all three files from that one generation.
Renewal
Renew before a certificate expires. The status report's 30-day warning window is the default renewal
window. renew_node_certificate.sh issues a new key and certificate with the same identity, DNS
names and addresses (nothing to retype), and only when the certificate is inside the window:
deployment/renew_node_certificate.sh plant1 erp
That prints "not due" for a certificate with a long life left. --within DAYS changes the window, and
--now renews regardless (a suspected key compromise, say). An already-expired certificate is renewed
too.
deployment/renew_node_certificate.sh plant1 erp --now
Deliver the result as in the default flow. The reload hooks tell the Node's services to pick it up:
KINDRED_NODE_PKI_DIR=~/nodes/erp deployment/install_node_certificate.sh plant1 erp \
--cert ~/.kindred-pki/plant1/nodes/erp/node.crt \
--key ~/.kindred-pki/plant1/nodes/erp/node.key \
--ca-bundle ~/.kindred-pki/plant1/nodes/erp/trust-bundle.pem
issue_node_certificate.sh and renew_node_certificate.sh refuse to sign a certificate that would
outlive the CA, and refuse an expired CA: a leaf that outlasts its CA would stop validating on every Node on
the same day. With a ten-year CA and one-year certificates, start the CA replacement during the CA's ninth
year; the status report lists the CA's days remaining. While a replacement is under way, a stopgap certificate
signed by the old CA is allowed (with a warning), so one urgent renewal does not have to wait for promote.
For a site's own PKI, renewal is a new CSR and the certificate your CA returns for it:
KINDRED_NODE_PKI_DIR=~/nodes/mes deployment/generate_node_csr.sh plant1 mes --dns mes.plant.local --force
--force never touches the installed key. It stages the replacement as node.key.new, makes the CSR for
it, and the Node keeps running on its current, matching key and certificate while your CA works. Have the
CA sign the new CSR, then install what it returns; the install uses the staged key and swaps it in with
the certificate. (While a staged key exists, --force is refused, because the CSR for it may already be with your CA and
a new key would strand the certificate it returns. generate_node_csr.sh --discard-staged abandons the staged
key and makes the CSR for the installed key again, and --force --discard-staged abandons it and stages a
new one.)
openssl x509 -req -in ~/nodes/mes/node.csr -CA ~/site-ca/ca.crt -CAkey ~/site-ca/ca.key \
-CAcreateserial -days 365 -sha256 -extfile ~/site-ca/leaf.ext -out ~/site-ca/mes.crt
KINDRED_NODE_PKI_DIR=~/nodes/mes deployment/install_node_certificate.sh plant1 mes \
--cert ~/site-ca/mes.crt --ca-bundle ~/site-ca/ca.crt
Replacing the CA
Replacing the CA does not require taking Nodes down: there is an overlap period in which the trust bundle holds both CAs, so each Node's certificate validates at every step. Three steps, run on the workstation, with a delivery to each Node between them. Each is safe to repeat and picks up where an interrupted run stopped.
1. begin makes the new CA and publishes a bundle holding the old and the new. Deliver that bundle to
every Node. The install checks that the Node's current certificate still validates against it, and
refuses a bundle that would break the Node.
deployment/replace_site_ca.sh plant1 begin
KINDRED_NODE_PKI_DIR=~/nodes/erp deployment/install_node_certificate.sh plant1 erp \
--ca-bundle ~/.kindred-pki/plant1/trust-bundle.pem
2. promote makes the new CA the signer and keeps the old one in ca-previous/. Reissue every Node's
certificate (renew_node_certificate.sh ... --now keeps its names; here erp and line-2) and deliver the
three files to each.
deployment/replace_site_ca.sh plant1 promote
deployment/renew_node_certificate.sh plant1 erp --now
deployment/renew_node_certificate.sh plant1 line-2 --now
KINDRED_NODE_PKI_DIR=~/nodes/erp deployment/install_node_certificate.sh plant1 erp \
--cert ~/.kindred-pki/plant1/nodes/erp/node.crt \
--key ~/.kindred-pki/plant1/nodes/erp/node.key \
--ca-bundle ~/.kindred-pki/plant1/trust-bundle.pem
3. retire drops the old CA from the bundle and deletes its key. It refuses while any certificate
issued on this workstation still depends on the old CA (--force overrides, if you know those Nodes are
gone), and it does not delete the old key until every Node directory's bundle copy has been refreshed: if
one cannot be written it stops, says so, and a re-run (with --force again, if you used it) finishes the job. Deliver the new single-CA bundle to every Node.
deployment/replace_site_ca.sh plant1 retire
KINDRED_NODE_PKI_DIR=~/nodes/erp deployment/install_node_certificate.sh plant1 erp \
--ca-bundle ~/.kindred-pki/plant1/trust-bundle.pem
Every Node directory on the workstation keeps a copy of the bundle for delivery, and begin and retire
refresh all of them (and issue_node_certificate.sh refreshes a stale one), so reinstalling a Node from
its directory never re-trusts a retired CA.
Afterwards a certificate the old CA signed no longer validates anywhere. The old CA's key is removed
with a plain rm; wipe any backups of it yourself, and back up the new CA key (below): a backup made
before the replacement holds only the key you just retired.
The two CAs have distinct names (the replacement's carries a timestamp) so they can be told apart.
A broker on the appliance trusts its own copy of the bundle, which only an administrator can change
(mqtt-broker.md, "Telling the broker which CA to trust"). Re-run configure_mosquitto.sh with the new
bundle's hash after step 1 (so the new CA is trusted) and again after step 3 (so the old one is dropped).
Until then the broker's reload hook refuses the step-2 certificate, the install exits 3 and says a reload is
owed, and after retire the broker still trusts the old CA: "no longer validates anywhere" holds for the
Nodes' peer links and the management API, not for that broker.
CA key custody and backup
ca.key signs every certificate in the site, so it is the one secret that matters.
- It lives on the workstation or provisioning host, mode 0600 in a mode 0700 directory, and never on a Node. Prefer a machine that is offline or locked down, used only for issuing.
- Back it up once, encrypted, to somewhere offline and separate. Losing it means replacing the CA and re-issuing every Node; leaking it means the same plus compromise response. The passphrase in this example is a placeholder: use a real one, kept apart from the backup.
tar -C ~/.kindred-pki -czf - plant1/ca.key plant1/ca.crt \
| BACKUP_PASSPHRASE=change-me openssl enc -aes-256-cbc -pbkdf2 -salt -pass env:BACKUP_PASSPHRASE \
-out ~/plant1-ca-backup.tar.gz.enc
- Check that a backup restores before you rely on it (this lists the archive without writing the key anywhere):
BACKUP_PASSPHRASE=change-me openssl enc -d -aes-256-cbc -pbkdf2 -pass env:BACKUP_PASSPHRASE \
-in ~/plant1-ca-backup.tar.gz.enc | tar -tzf -
- To restore the CA on a new or rebuilt workstation (or to move it), decrypt the backup into that
workstation's PKI directory, keep the directory private, and run
create_site_ca.sh: it finds the CA and leaves it unchanged, and restorestrust-bundle.pemif the backup did not carry it. Certificates issued from the restored CA are the same CA's as before, so existing Nodes accept them. This example restores into a scratch directory and checks that against an installed Node's bundle:
mkdir -p -m 700 ~/restored-pki
BACKUP_PASSPHRASE=change-me openssl enc -d -aes-256-cbc -pbkdf2 -pass env:BACKUP_PASSPHRASE \
-in ~/plant1-ca-backup.tar.gz.enc | tar -C ~/restored-pki -xzf -
chmod 700 ~/restored-pki/plant1
KINDRED_PKI_DIR=~/restored-pki deployment/create_site_ca.sh plant1
KINDRED_PKI_DIR=~/restored-pki deployment/issue_node_certificate.sh plant1 line-3 --dns line3.plant.local --ip 10.0.0.23
openssl verify -CAfile ~/nodes/erp/trust-bundle.pem ~/restored-pki/plant1/nodes/line-3/node.crt
- In the default flow the workstation also holds each Node's private key, because it generated it. Once a
Node has its files installed, delete the workstation's copy; the workstation needs only
ca.keyto keep issuing, andrenew_node_certificate.shmakes a fresh key each time anyway:
rm ~/.kindred-pki/plant1/nodes/erp/node.key
ca.crtis public. Keep a copy with each Node'strust-bundle.pem; the Nodes' copies already are it.
Compromise response
Because revocation is by short lifetime and bundle replacement, there is no per-certificate revocation list. The responses are:
- A Node's key is compromised or a Node is lost: renew it (
renew_node_certificate.sh ... --now) and stop renewing the old identity. The stolen certificate stays valid until it expires (a year by default) unless the CA is replaced, which is why leaf lifetimes are kept short. If that window is too long for your site, issue shorter-lived certificates with a smallerLEAF_DAYSand renew more often. - The CA key is compromised: replace the CA with the three steps above, and do not leave the overlap
open: deliver the bundle, promote, reissue every Node, and retire in one working session. Until
retire, anything signed by the compromised CA is still trusted. Treat the old key's backups as compromised too. - A site's own CA is compromised: that is the site's incident process. Install the replacement CA's
certificate as the trust bundle on each Node with
install_node_certificate.sh ... --ca-bundle, then new certificates throughgenerate_node_csr.sh.
Pitfalls
- A certificate from your own CA needs an Authority Key Identifier. The chain check rejects a leaf without one. Standard CAs add it by default.
- The trust bundle holds CA certificates, and nothing else. A leaf in it is refused, not trusted. Put the root in it when your CA signs through an intermediate; an intermediate alone is accepted only as an anchor you chose to trust by itself.
- A self-signed X.509 v1 certificate in the bundle is trusted as a root. Such a certificate has no extensions to say whether it is a CA, and some older enterprise roots are exactly that, so it is accepted when it is self-issued. Put only real roots in the bundle.
- A certificate carries one Kindred identity. One that names two (or a malformed extra) is refused, so a CA that signs a CSR as-is cannot give a Node a second identity.
- One site, one CA, one PKI directory. Run
create_site_ca.shonce per site; after that, issue from the same CA (same workstation andKINDRED_PKI_DIR, or a restored backup). A second run on a workstation without the CA creates a different one under the same name. See Adding more Nodes. - Names are part of the identity.
plant1anderpbecomeurn:kindred:plant1:erp; a name containing:or starting with.is rejected. - The key must be readable by the account the Kindred services run as. Files are written mode 0600 for the user who ran the install, so run it as that account.
- Adding a DNS name or address to an existing certificate means reissuing it (
--force), including a new key; re-running with the new name is an error until you do, so it is never silently ignored. - A lab certificate is not a production shortcut. It is refused wherever
PRODUCTION_MODEis true, and an unset or unreadable value counts as true.
Release: v0.11.0