Native Windows deployment
Run these commands in PowerShell. Source builds need the matching MSVC C++ tools and Windows SDK. Build both binaries from the same source commit and use the matching deployment templates. Build from source · Download the release
Server
Copy the matching server binary and deploy/server.yml. Set host to the actual gateway address. Use SQLite from the template or configure a dedicated external database. Provide the initial administrator password on first startup with an empty database. Generate the offline root and online Tunnel CA as shown in Quick start, then copy the online files in pki/ to the server. Generate the root CA · Server configuration
.\server.exe --config .\server.yml run --managed-pki-seed .\pkiOpen http://SERVER_ADDRESS:9650/ in a browser and sign in as admin.
Generate the root CA
Use OpenSSL 3.5 or later in an offline signing environment. Use new directories for offline-root and pki. After issuing the Tunnel CA, copy root.pem, issuer.pem, and issuer.key from pki/ to the server.
New-Item -ItemType Directory -Path .\offline-root -ErrorAction Stop | Out-Null
$signingUser = [System.Security.Principal.WindowsIdentity]::GetCurrent().User.Value
icacls .\offline-root /inheritance:r /grant:r "*${signingUser}:(OI)(CI)F" | Out-Null
if ($LASTEXITCODE -ne 0) { throw 'Failed to restrict access to offline-root.' }
openssl req -x509 -newkey ML-DSA-87 -noenc -days 3650 `
-subj '/CN=Tunnel Root CA' `
-addext 'basicConstraints=critical,CA:TRUE,pathlen:1' `
-addext 'keyUsage=critical,keyCertSign,cRLSign' `
-addext 'subjectKeyIdentifier=hash' `
-keyout .\offline-root\root.key -out .\offline-root\root.pem
if ($LASTEXITCODE -ne 0) { throw 'OpenSSL did not generate the root CA.' }
.\server.exe init-pki --pki .\pki --offline-root .\offline-rootClient
For a direct client, provision the public ML-DSA-87 root certificate and configure root, the control address, the HTTP/3 enrollment address, and the registration key. For a pre-issued ZIP, configure the three PEM files in the package and restrict private key access to the client account. Set up a client
The commands below use the direct client configuration. For MQTT, extract the complete certificate ZIP, keep its directory layout, and start with .\client.exe --config .\app.yml run. MQTT access
.\client.exe --config .\client.yml verify
.\client.exe --config .\client.yml run