Client¶
The client side of BastionXP CA runs on the machines that need certificates:
servers, laptops, CI runners, containers. It is the same bxp binary
as the server; install it the same way (see
Installation).
The client needs no configuration file and no access to the CA's
keys: only the CA's address and its root certificate, which
bxp trust saves once.
In this section¶
| Page | What it covers |
|---|---|
| Trust the CA | The first step on every client: bxp trust, fingerprints, the system trust store. |
| Client configuration | Flags, environment variables, where the trust is saved, and which wins. |
| TLS certificates | bxp tls: server and client certificates. |
| SSH user certificates | bxp ssh for people, ssh-agent, sshd setup. |
| SSH host certificates | bxp ssh for servers, known_hosts setup. |
| Renew certificates | bxp renew, --exec, daily timers. |
The protocol clients have their own pages:
bxp acme and
bxp scep.
Client commands¶
| Command | Purpose |
|---|---|
bxp trust |
Trust a BastionXP CA server. |
bxp tls |
Create a key and get a TLS certificate for it. |
bxp ssh |
Get an SSH certificate for an SSH key. |
bxp acme |
Get and manage TLS certificates with ACME. |
bxp scep |
Get, renew or fetch a certificate over SCEP. |
bxp renew |
Renew a certificate before it expires. |
bxp token |
Admins: create a token from their own machine after a login. |
How a client proves it may have a certificate¶
| You have | Run |
|---|---|
| A one-time token from an admin | bxp tls --token <token> ..., bxp ssh --token <token> ... |
| A company login (OIDC) | bxp ssh --key ... (no --token): the browser opens |
| An Active Directory password | bxp ssh --ldap --key ... |
| A certificate that is due | bxp renew --cert ... --key ... |
| A DNS name the CA can verify | bxp acme issue --name ... |