TurboPanel Docs
Security

Control Plane Identity

Your servers take orders from the control plane. This page explains, in plain words, how a server can be sure an order came from your control plane and not from someone pretending to be it. It is not a key, a setting or a procedure: there is nothing here to copy or type.

Where this stands today

Steps 1 to 4 work today on every server installed with a TOKEN install command from Add Server. Step 5, switching to a new key with your passkeys, is not built yet. Enrolling a server works as described in Daemon Setup and Installation; there is nothing extra to type.

This is its own key, not the release signing key, the Platform CA or a server's own key. It proves who sent an order; keeping the secret inside an order private is the job of Sealed Secrets.

1. The Problem

A server does what the control plane tells it: "deploy this", "here is a database password", "restart that". So a server must be sure an order really came from your control plane.

Your control planesends orders
"deploy this"
Your servercarries them out
An impostorat the same address
"deploy this"
Your serverhow can it tell?
Both messages arrive over a padlocked connection. The server needs a way to tell the two apart.

The website padlock (the certificate) and the signed session a server gets after connecting prove only that it reached the address it was given and is still talking to the same party, not who is behind that address. Behind a tunnel or a proxy (a hosted tunnel in front of a self-hosted control plane, for example) the padlock belongs to the tunnel, and anyone who took over your web address could get one too. The padlock stays on as a second check in everything below; the stamp is what decides.

2. The Key: A Stamp Only Your Control Plane Has

The control plane has a key. Think of it as a personal stamp. The control plane stamps every order it sends to a server that knows the stamp (step 4). Nobody else has the stamp, so nobody else can make that mark.

Your control planekeeps the key (secret)
order + stamp
"deploy this"stamped by the control plane
The key never leaves the control plane, and every order carries its stamp.

The key never leaves the control plane. You never see it or type it. It is made once and kept only there.

3. The Fingerprint: How a Server Recognises the Stamp

A server needs to know what the real stamp looks like. The fingerprint is a short public code that describes the stamp, like knowing a friend's handwriting. It is safe for anyone to see: knowing what the stamp looks like does not let you make it.

Install commandcarries the fingerprint
you run it once
Your serverremembers the fingerprint
The server learns the fingerprint once, when it joins, and keeps it for every later check.

The install command you copy from Add Server carries the fingerprint inside its TOKEN value. Before the installer sends anything to the control plane, it fetches the control plane's signed identity and stops unless the fingerprint matches the one you handed it and the signatures check out. The server then remembers that fingerprint (it is pinned) and uses it for every later check.

The same fingerprint is on the Control Plane Identity screen in the admin area (Access → Control Plane Identity), so you can compare it by eye. Add Server shows no fingerprint of its own: the install command already carries it.

A server installed before the control plane had a key learns the fingerprint on its first automatic update. It fetches the signed identity over the padlocked connection it already trusts, so the padlock is what vouches for it that one time. A server installed with the older TURBOPANEL_LICENSE form of the command pins nothing (see step 4).

4. Every Order Is Checked

Once a server has pinned the fingerprint, it compares every stamp against it. A real stamp matches and the order is carried out. An order without a matching stamp is refused, whoever sent it.

Your control plane
order + real stamp
Your serverstamp matches: carries it out
An impostor
order, no real stamp
Your serverno match: refuses
A real stamp matches the remembered fingerprint; anything else is refused.

It does not matter which web address or which padlock the order arrived through: tunnel, proxy, home network. The padlock still has to be valid, and on top of that the stamp has to match. In practice, on every connection:

  • A stamped hello. The server opens with a fresh random number. The control plane must answer with a hello that is stamped and repeats that number, so an old hello cannot be played back. Until it does, the server sends nothing else.
  • Stamped orders, in order. Every message after the hello carries a stamp and the next number in sequence, so a message cannot be dropped, repeated or slipped in.
  • Stamped answers. When the server enrols, signs in, or asks for secrets and trust settings, the answer must be stamped too.
  • The server signs as well. The server signs its own requests and the results it reports with its own key (see Daemon trust model). Once the control plane has checked one signed report from a server, it refuses unsigned reports from that server from then on.

If any check fails, the server closes the connection, carries out nothing, and tries again later. It keeps its keys while it waits.

A server that has pinned nothing (installed with the older TURBOPANEL_LICENSE form of the command) keeps the unsigned session: it checks the padlock and the signed session only, as described in Daemon trust model. Reinstall it with a fresh command from Add Server to pin it.

5. If the Stamp Is Ever Stolen: Your Passkeys

This step is planned, not built. If someone broke into the control plane and copied the key, you would make a new key and tell every server to switch. To stop a thief from doing the same trick, servers would only accept a switch that you approve with one of your passkeys, the phone or laptop sign-in you already use with TurboPanel.

You approvewith a passkey
"switch to the new key"
Your serverswitches only with your approval
Planned, not built yet: only a switch you approve with a passkey would be accepted. A thief with the old key could not approve one.

Register two or three passkeys (a phone, a laptop, a hardware security key). Lose one and the others still work. There is nothing to write down.

Coming soon: switching keys with your passkeys

Passkeys already sign you in. Using them to approve a new control-plane key on every server is being built and is not in the current release.

Who Holds What

ThingKindWhere it livesYou do
Key (the stamp)secretInside the control plane onlyNothing
Fingerprint (what the stamp looks like)publicIn the control plane's signed identity, the install command and every pinned serverNothing
Your passkeysyoursYour phone, laptop or hardware security keyApprove a key switch, rarely

In Short

The control plane has a key and stamps every order. Servers check the stamp against a short public code they learn when they join and refuse anything that does not match. Approving a new stamp with your passkeys is still to come. Day to day, you do nothing.

Edit on GitHub

Last updated on

On this page