Pair an installed agent
Connect an existing agent using the generated pairing command.
Prerequisites
This protocol configures an already installed agent. It does not install/upgrade packages, request SSH access or change VPN/firewalls. Onboarding must be enabled with a configured HTTPS origin and approved server network. Normal traffic uses VPN/LAN; public addresses need operator-approved exceptions.
Supported: Debian 12/13, Ubuntu 24.04/26.04, Fedora 43/44; x86_64/aarch64. The server needs the agent package, systemd, Python 3, curl, OpenSSL and iproute2. Administrators assign web/mail roles and approved roots; mail servers retain their existing signing services.
Workflow
- A
server_operatorselects the existing server, assigned interface address, port and roles in Admin. - Generate the pairing command. Its
ne_secret is shown once, valid 30 minutes and passed on standard input. - Run locally with sudo. It downloads GET
/api/v1/hosting/configuratorover HTTPS to the configured destination IP, retaining hostname/SNI verification. - The helper creates a local key, submits a CSR, validates received configuration and binds the assigned address.
- It reports progress;
installedmeanschecking, not ready. A worker must verify the live connection.
POST /api/v1/hosting/enroll uses Authorization: Bearer ne_… and JSON:
{"csr":"PEM CSR","platform":{"os":"debian","version":"13","architecture":"x86_64"}}
The response contains enrolment identity, certificate, client CA, expiry, roles, roots, port, hostname and configuration_only:true, never the private key.
Retry and retirement
Retry an interrupted claim with the same key/CSR/platform while its token remains valid. Different inputs on a claimed token are rejected. Inspect local output and correct the cause; never disable TLS verification. Obtain controlled replacement when necessary.
/api/v1/hosting/installer and /package are retired (410 on the configured host). Use configurator pairing instead. See signatures, certificates and the reference.