Install Trustity TCP On-Prem
Customer air-gap install of TCP On-Prem 4.3.7 - server, signed license, TAO enrollment, GenGuard/VisionX/HostGuard first checks.
Install Trustity TCP On-Prem
TCP On-Prem 4.3.7 runs the Trustity Control Portal on your Linux server (Caddy · PostgreSQL · portal). After the install media is inside your network, the portal does not need outbound internet.
Endpoints enroll with Trustity Agent One (TAO) in On-Premises mode against your portal - not against the cloud portal at trustity.io.
This page is the customer install runbook. Follow it in order so your team can stand up the portal, apply the signed license, enroll Windows endpoints, and confirm modules without ad-hoc troubleshooting.
What you receive from Trustity
| Item | Notes |
|---|---|
Trustity-TCP-OnPrem-4.3.7-airgap.tar.gz | Full air-gap package (bundled images + Agent One 4.0.3590). Delivered by your Trustity account team or trustity.dev/downloads for entitled partners. There is no public self-serve download. |
| SHA-256 (air-gap) | a40c1edb714391df3c8108cddcfa3c36e337225148a4c51559c4cd8ef5f9d34e |
| Offline upgrade | trustity-tcp-onprem-upgrade-4.3.7.tar.gz - SHA-256 3dfba418f939d923c87549218f9a78e0171c6edef7c7a0f8bcfbf704e9cf1f51 |
| Signed license | Issued after you send license-request.json from your server (see below). |
Prepare media on an open network if needed, then transfer by USB or approved sneakernet into the air-gap.
Server prerequisites
Prepare the host before running the installer:
| Requirement | Specification |
|---|---|
| OS | Ubuntu 22.04 LTS or compatible Linux, x86_64 (amd64) |
| Docker | Docker Engine 24+ with Compose v2 - must already be installed |
| Resources | 2+ vCPU, 4 GB RAM minimum (8 GB recommended with VisionX) |
| Network | Endpoints can reach the portal on TCP 443 (HTTPS) and TCP 80 (CA bootstrap during TAO install) |
| Portal hostname | Internal DNS name strongly recommended (see next section) |
The installer loads bundled container images from the package. It does not pull from a public registry, but Docker must already be on the server.
Portal hostname & TLS (read before install)
Use DNS in production
Plan a stable internal hostname, for example tcp.corp.local or trustity.company.internal.
| Approach | When to use |
|---|---|
| Internal DNS (recommended) | Production and most customer deployments |
| Fixed IP only | Acceptable for lab; regenerate TLS if the IP changes |
hosts file on endpoints | Lab / PoC only - when internal DNS is not ready yet |
Use the same hostname everywhere: DNS (or lab hosts), portal URL at install, TLS certificate, TAO /server= URL, and TAO_BASE_URL. Mixing IP in one place and DNS in another causes TLS or enrollment failures.
How portal TLS works
TCP On-Prem ships with a private Certificate Authority (CA) and a server certificate signed by that CA. Browsers may show “Not secure” - that is expected for a private CA.
TAO does not use the Windows certificate store. TAO validates HTTPS with its own TLS stack. Installing the CA into Windows Trusted Root does not enroll or heartbeat the agent. TAO needs the portal CA file (ca.crt) via:
- Recommended: silent install with
/mode=onprem(Setup downloads the CA automatically), or - Manual: machine environment variable
TAO_TLS_CA_FILEpointing at the CA PEM on disk.
Regenerate TLS if the hostname changes
cd /opt/trustity/Trustity-TCP-OnPrem-4.3.7-airgap
sudo ./scripts/regenerate-tls.sh tcp.corp.local
sudo docker compose restart caddy
Then redistribute certs/ca.crt to every endpoint and restart TAO (or re-run silent Setup).
The portal also serves the CA at http://<portal>/ca.crt (port 80) for bootstrap during On-Prem Setup.
Step 1 - Install the portal
On the Linux server:
sudo mkdir -p /opt/trustity
cd /opt/trustity
sudo tar xzf /path/to/Trustity-TCP-OnPrem-4.3.7-airgap.tar.gz
cd Trustity-TCP-OnPrem-4.3.7-airgap
sudo ./install.sh
When prompted:
| Prompt | Example |
|---|---|
| Portal URL | https://tcp.corp.local - no trailing slash, no :443 |
| Organization name | Your company or site name |
| Admin email | First portal administrator |
| Admin password | At least 10 characters |
Verify from a workstation on the same network:
sudo ./scripts/verify-install.sh
curl -k -sS -o /dev/null -w "%{http_code}\n" https://tcp.corp.local/
curl -sS http://tcp.corp.local/ca.crt | head -1
Expect 200 or 302 from HTTPS, and -----BEGIN CERTIFICATE----- from the CA URL.
Sign in at https://tcp.corp.local/login.
Step 2 - Request and apply the signed license
Commercial modules (VisionX, HostGuard, GenGuard, PAM, Vault inventory entitlement, and so on) unlock only with a Trustity-signed license.
- On the server, copy
data/license-request.json(also visible under Deployment Center in the portal). - Send that file to your Trustity account team (or upload it in the channel Trustity gave you).
- Trustity returns a signed license JSON with your agent quota and modules.
- In the portal: Deployment Center → paste or upload the signed file → Apply.
- Copy the organization license / enroll key shown after apply.
Self-generated keys do not unlock modules. After a full portal reset, request a new signed license and use the new enroll key from Deployment.
Typical module set for a security site: VisionX · HostGuard · GenGuard DLP · PAM · Vault (inventory).
Step 3 - Enroll Windows endpoints (TAO)
Download the installer
From a workstation that can reach the portal:
https://tcp.corp.local/exe/Trustity-Agent-Setup.exe
Or use the download buttons on Deployment Center after the license is applied.
Recommended - silent install (production)
Run as Administrator on each endpoint. Use the exact portal URL from install:
Trustity-Agent-Setup.exe /quiet /mode=onprem /server=https://tcp.corp.local /license=YOUR_DEPLOYMENT_KEY
This mode:
- Downloads the portal CA from
http://tcp.corp.local/ca.crt - Saves it under
C:\ProgramData\Trustity\portal-ca.crtand sets machine environment variables - Enrolls in On-Premises mode and starts the agent service
Confirm under Agents in the portal (Online / recent heartbeat). The tray / Overview status should show protected - not Offline against the cloud.
Manual enrollment (fallback)
If silent install is not an option, run as Administrator:
mkdir C:\ProgramData\Trustity 2>nul
curl -o C:\ProgramData\Trustity\portal-ca.crt http://tcp.corp.local/ca.crt
setx TAO_BASE_URL "https://tcp.corp.local" /M
setx TAO_TLS_CA_FILE "C:\ProgramData\Trustity\portal-ca.crt" /M
cd /d "C:\Program Files\Trustity\TAO"
tao-agent.exe enroll --license-key YOUR_DEPLOYMENT_KEY --deployment-mode on_prem
net stop TrustityAgent
net start TrustityAgent
Close and reopen the TAO GUI after changing machine environment variables.
Do not rely on a plain /quiet install without /mode=onprem - the agent may default to the cloud portal until TAO_BASE_URL is set.
Step 4 - First checks after enroll
| Check | Where | Expect |
|---|---|---|
| Agent online | Agents | Hostname listed; heartbeat within minutes |
| Software inventory | Inventory | Packages appear after the first inventory cycle (may take up to ~1 hour, or restart the agent service) |
| VisionX | Security Policy → VisionX, then VisionX → Live Events | Set Always on / Standby / On-demand (4.3.7+); events after a detection (module must be on the license + policy) |
| HostGuard IPS | HostGuard IPS | Observed/blocked rows after failed-logon tests (module + policy) |
| GenGuard DLP | GenGuard → Security Policy, then Live Events | Save keywords/domains; trigger a block; event appears |
| PAM | PAM Status | Rotation results after interval (module + policy hours) |
Policy changes bump a version and are pulled by agents on the next heartbeat.
Lab / PoC without internal DNS
- Pick a lab hostname, for example
tcp.lab.local, or use the server IP consistently everywhere. - If you use a hostname: on the portal server run
./scripts/regenerate-tls.sh tcp.lab.localand restart Caddy; on each Windows endpoint add ahostsline mapping that name to the server IP. - Enroll TAO with the same URL used for TLS - do not mix raw IP and hostname.
Move to real internal DNS before production.
Day-2 operations
| Task | Command / location |
|---|---|
| Health | sudo ./install.sh --status or sudo ./scripts/verify-install.sh |
| Repair / restart stack | sudo ./install.sh --repair |
| Offline upgrade | Trustity provides trustity-tcp-onprem-upgrade-X.Y.Z.tar.gz → sudo ./upgrade.sh /path/to/… |
| Uninstall (destructive) | sudo ./install.sh --uninstall |
Troubleshooting
| Symptom | Likely cause | Fix |
|---|---|---|
| “License key not recognized” | Enrolling against cloud or stale key | /mode=onprem; copy key from Deployment after latest apply |
| TAO Offline / heartbeat TLS error | Missing TAO_TLS_CA_FILE | Silent /mode=onprem or set machine env + restart TrustityAgent |
| Certificate / hostname errors | IP vs DNS mismatch | Regenerate TLS for the hostname you use; keep URLs identical |
| Browser “Not secure” | Private CA | Expected; unrelated to TAO if the CA file is configured |
| GenGuard / VisionX empty | Module not on signed license or policy not saved | Re-check license modules; save policy; wait for heartbeat |
curl https://portal/ca.crt fails on Windows | Windows curl uses OS trust store | Use http://portal/ca.crt for bootstrap; TAO uses TAO_TLS_CA_FILE |
Quick diagnostic (Administrator CMD)
reg query "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /v TAO_BASE_URL
reg query "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /v TAO_TLS_CA_FILE
dir C:\ProgramData\Trustity\portal-ca.crt
cd /d "C:\Program Files\Trustity\TAO"
tao-agent.exe status
Related
- Product page: /products/tcp-onprem
- Cloud portal overview: Cloud Portal overview
- Integrator / packaging notes: trustity.dev/docs/platform/tcp-onprem-install
- Cloud Deployment center (SaaS): Deployment
