Getting started¶
This section takes you from nothing to a working CA.
- Install BastionXP CA: one binary, the same on the CA machine and on every client.
- Quick start: create the CA, start the server, trust it from a client, and get a TLS and an SSH certificate.
- Next steps: what to set up before real use, such as key protection, a service manager, logins and automation.
Before you begin¶
You need:
- A machine for the CA: Linux for production, such as Ubuntu with systemd or a container. macOS works for trying BastionXP CA out. The client commands also run on Windows.
- A DNS name (or IP address) that clients will use to reach the CA, for
example
ca.example.com. - One TCP port reachable by clients,
8443by default.
BastionXP CA has no other dependencies: no database server, no web server, no runtime. Its whole state is one directory.
Two roles¶
Throughout the documentation, commands are marked by where they run:
| Role | Where | Commands |
|---|---|---|
| CA administrator | the CA machine (or an admin's laptop after an OIDC/LDAP login) | init, serve, token, list, revoke, profiles, doctor, backup, fingerprint, new-intermediate, new-ssh-ca |
| Requester | any machine that needs a certificate | trust, tls, ssh, acme, scep, renew |
bxp --help lists the commands in these same two groups.