Install Security Compliance Management in an air-gapped environment
When you install Security Compliance Management in an air-gapped environment, download the required image archives on an internet-connected machine and transfer them to the target. Then run the installation plan locally.
Ensure that the required runtime environment (Docker or Podman) and Bolt (3.27.2 or later) are installed on the air-gapped target machine.
To access the Security Compliance Management complyadm module, you need a Forge API token. The
complyadm module does not support Windows-based Bolt hosts.
Download image archives
Download the image archives on any internet-connected machine. The machine used to download the archives does not need Docker, Podman, or Linux. The following manifest is for SCM 3.10.0.
- nginx v3.10.0
- postgres v3.10.0
- redis v3.10.0
- oauth2-proxy v3.10.0
- scarp v3.10.0
- scarp-init v3.10.0
- hasura-graphql-engine v3.10.0
- hasura-metadata v3.10.0
- comply-identity v3.10.0
- comply-ui v3.10.0
- comply-assessor 4.68.0
The procedure below prepares the Puppet Bolt project and inventory on an internet-connected machine, then transfers them with the image archives to the air-gapped target.
- On your non air-gapped machine, create the Security Compliance Management Bolt project and switch to that directory.Copy
mkdir comply-bolt-project
cd comply-bolt-project
bolt project init comply_bolt_project - Edit the bolt-project.yaml file to specify the module to
install and your Forge API token. Change the
modulesandmodule-installsections to:Copy---
name: comply_bolt_project
modules:
- name: puppetlabs/complyadm
version_requirement: 3.y.z
module-install:
forge:
authorization_token: 'Bearer <your API token>'
baseurl: https://forgeapi.puppet.com - Install the
complyadmmodule using the command:bolt module install.If you are installing Security Compliance Management as a non-root user, see Install Security Compliance Management as a non-root user starting with the next step. - Create an inventory.yaml
file for a localhost installation, for example:Copy
---
targets:
- name: security-compliance-management
uri: localhost
config:
transport: local
features:
- puppet-agent - Save the downloaded archives in
downloads/comply/images/relative to the project directory. Copy the Bolt project and archives to the air-gapped target. - On the air-gapped target, install Security Compliance Management using:
bolt plan run complyadm::install. - Select
rootas the install type to install Security Compliance Management. If you are installing Security Compliance Management as a non-root user, see Install Security Compliance Management as a non-root user for those instructions. - Specify the inventory target you would like to install on.
- Specify the DNS-resolvable hostname of the new Security Compliance Management web console.
- When prompted to install a runtime, choose the runtime already installed on the air-gapped target and answer No.
- Configure an mTLS certificate or choose to configure this at a later time. Automatically generated certificates are only available for hosts that support SSH.
- Choose whether to manually configure a TLS certificate or use the automatically generated self-signed certificate. You can update this certificate at a later time. If you choose to manually configure the TLS certificate, you need a TLS certificate chain, private key, and certificate revocation list (CRL).
You can now log into the application at the resolvable hostname with the default username and password (
comply:compliance). You are
prompted to change the username and password when you first log in.