-
Root permissions on the host
-
trustagent_v1.0.0.bin makeself installer
-
TPM 2.0 device
-
RHEL 8.0 Host
-
Packages...
- tpm2-abrmd (v2.0.x)
- dmidecode (v3.x)
- redhat-lsb-core (v4.1.x)
- tboot (v1.9.7.x)
- compat-openssl10 (v1.0.x)
- logrotate
yum -y install tpm2-abrmd dmidecode redhat-lsb-core tboot compat-openssl10
There are two methods for installing GTA.
Type | Description |
---|---|
Minimal Install | The GTA makeself installer will perform a 'minimal install' when there is not a trustagent.env in the current directory. It only installs the GTA files and creates system users, services, etc. At the completion of the minimal install, GTA must be provisioned and started to be integrated into the ISecL platform (see Manual Provisioning below). |
Automatic Provisioning | The GTA makeself installer will perform an 'automatic provisioning' when a valid trustagent.env file in the current directory. 'Automatic provisioning' will perform a 'Minimal Install' and configures GTA for integration with ISecL. See Automatic Provisioning Setup below. |
In either case, steps to run the installer are...
- Making sure the
trustagent-v1.0.0.bin
file is executable by the root user. - Running the installer as root:
sudo ./trustagent-v1.0.0.bin
.
Note: By default, 'Application-Integrity' is installed with GTA and requires a reboot for measurements to be created.
When there is a valid trustagent.env
file in the current directory, the GTA makeself installer parses the file, export its values as environment variables and invokes tagent setup
. The following example demonstrates the contents of a valid trustagent.env
file.
MTWILSON_API_URL=https://{hvs_url}:{hvs_port}/mtwilson/v2
CMS_TLS_CERT_SHA384=7ff464fdd47192d7218e9bc7a80043641196762b840c5c79
BEARER_TOKEN=
TPM_OWNER_SECRET=625d6d8a18f98bf794760fd392b8c01be0b4e959
TRUSTAGENT_ADMIN_USERNAME=tagentadmin
TRUSTAGENT_ADMIN_PASSWORD=TAgentAdminPassword
GRUB_FILE=/boot/efi/EFI/redhat/grub.cfg
PROVISION_ATTESTATION=y
For more information about the variables used in trustagent.env
see trustagent.env Reference
When the 'automtic provisioning' installation is complete, GTA will be provisioned, running and ready to be registered with HVS.
When the installer completes a 'minimal install', the GTA files, users, services, etc. will be created on the host. However, the GTA will not yet be configured to run. To provision the host for integration into ISecl, tagent setup
must be run.
Running tagent setup
requires configuration information that is either defined in environment variables (similar to trustagent.env
) or the config.yml
file.
To run tagent setup
manually with environment variables...
- Export the required variables into the current shell (see the 'Required?' column at trustagent.env Reference).
- Run
tagent setup
as root. - Start tagent:
systemctl start tagent
To run tagent setup
with config.yml
...
- Create /opt/trustagent/configuration/config.yml, providing the required information (see config.yml).
- Run
tagent setup
as root. - Start tagent:
systemctl start tagent