Installation¶
BastionXP CA is a single binary. The same binary is the CA server and the client: install it on the CA machine and on every machine that requests certificates.
Download the archive for your system from the
releases page, and check
it against checksums.txt:
sha256sum --check --ignore-missing checksums.txt
tar xzf bastionxp-ca_<version>_linux_amd64.tar.gz
sudo install -m 755 bastionxp-ca_<version>_linux_amd64/bxp /usr/local/bin/bxp
Archives exist for Linux, macOS and Windows, each for amd64 and arm64
(.zip for Windows). Each contains the bxp binary, the README, the example
configuration (bastionxp-ca.example.yaml) and the systemd units.
The build provenance can be checked with the GitHub CLI:
The image is built for linux/amd64 and linux/arm64. It runs bxp serve --config /etc/bastionxp-ca/bastionxp-ca.yaml as a
non-root user (uid 65532), with its data in the volume
/var/lib/bastionxp-ca. See Run in a container.
Check the installation¶
bxp --version names the version, the commit it was built from and that
commit's date, the Go version and the platform:
It shows the commit's date, not the time of the build, so that two builds of the same source are identical.
bxp --help shows the commands in two groups: Get certificates (on
any machine) and Run the CA (on the CA machine, or as its admin).
Shell completion¶
BastionXP CA can generate completion scripts for bash, zsh, fish and PowerShell:
bxp completion bash | sudo tee /etc/bash_completion.d/bxp >/dev/null
bxp completion zsh > "${fpath[1]}/_bxp"
Supported platforms¶
| Platform | CA server | Client |
|---|---|---|
| Linux (amd64, arm64) | Yes; systemd units provided | Yes |
| macOS (amd64, arm64) | Yes | Yes |
| Windows (amd64, arm64) | Yes | Yes (see the notes on renewal) |
Container (linux/amd64, linux/arm64) |
Yes | Yes |
Next¶
Continue with the Quick start.