Skip to content

Getting Started

Overview

This guide walks through installing the Britive Access Broker on a Linux host and registering target Linux servers as resources in Britive Resource Manager. Once complete, the broker is ready for all Linux use cases covered in this section: JIT SSH key access and remote server access.

The broker runs as a systemd service under a dedicated britivebroker service account. It communicates outbound to Britive over HTTPS — no inbound ports are required.

Before You Begin

  • A Britive tenant with administrator access
  • A Linux host to run the broker (RHEL/CentOS 8+, Ubuntu 20.04+, or Amazon Linux 2/2023)
  • Java 21 (OpenJDK) on the broker host
  • A broker pool token from Resource Manager → Broker Pools → New Pool in the Britive console
  • Outbound HTTPS (port 443) from the broker host to Britive

Install the Broker

Download the broker package

Obtain the broker download link from your Britive tenant under Admin → Access Broker → Download Agent. Download to the broker host:

curl -O "<broker-download-link>"

The package name follows the pattern britive-broker-<version>.rpm (RHEL) or britive-broker-<version>.deb (Debian/Ubuntu).

Install Java 21

RHEL / Amazon Linux
sudo dnf install java-21-openjdk-devel -y
java --version
Ubuntu / Debian
sudo apt-get install -y openjdk-21-jdk
java --version

Install the broker package

sudo rpm -ivh britive-broker-*.rpm

The installer creates:

  • Service user britivebroker
  • Install directory /opt/britive-broker/
  • systemd unit britive-broker

Configure the broker

cd /opt/britive-broker/config/
sudo cp broker-config-template.yml broker-config.yml
sudo vi broker-config.yml

Set your broker pool token:

/opt/britive-broker/config/broker-config.yml
broker_pool_token: "<your-broker-pool-token>"

Fix ownership and start the service

sudo chown -R britivebroker:britivebroker /opt/britive-broker
sudo systemctl enable britive-broker
sudo systemctl start britive-broker

Verify the broker is running

sudo systemctl status britive-broker

Expected output includes Active: active (running).

In the Britive console, go to Resource Manager → Broker Pools and confirm the broker shows Connected.


Register Linux Servers as Resources

Each target Linux server is a resource in Britive Resource Manager. Create a resource type first, then register individual servers.

Create a resource type

Go to Resource Manager → Resource Types → New Resource Type.

FieldValue
NameLinuxServer
DescriptionLinux SSH server

Add parameters:

ParameterTypeRequired
hostnamestringYes
portstringYes
ipip-cidrNo

Register a server

Go to Resource Manager → Resources → Add Resource.

FieldValue
Nameprod-web-01
Resource TypeLinuxServer
hostnameprod-web-01.internal
port22

Under Broker Pools, associate the pool connected to this server.


Verify

# On the broker host: confirm the service is running
sudo systemctl is-active britive-broker

# Check recent broker logs
sudo journalctl -u britive-broker -n 50 --no-pager

In the Britive console:

Check broker pool status

Go to Resource Manager → Broker Pools — broker status should be Connected.

Check registered resources

Go to Resource Manager → Resources — registered servers should appear.


Troubleshoot

SymptomCauseFix
Service fails to startJava not installed or wrong versionRun java --version; must be 21+
Broker shows DisconnectedOutbound HTTPS blockedOpen port 443 from broker host to *.britive-app.com
Permission denied on /opt/britive-brokerWrong ownershipRun sudo chown -R britivebroker:britivebroker /opt/britive-broker
Broker pool token rejectedStale or wrong tokenRegenerate from Resource Manager → Broker Pools

Next Steps

  • SSH Access — JIT SSH key checkout and checkin for local and shared servers
  • Remote SSH Access — Broker-mediated SSH key management for remote servers
Last updated on