Choose your path¶
BastionXP Enterprise does several jobs. You do not need to set up all of them at once. This page helps you choose the job that you need first. For each job, it lists the steps in order, with a link to the page that explains each step.
If you want to understand the parts first, read Concepts and architecture. You can also come back to it later.
What do you want to do first?¶
| I want to... | Go to |
|---|---|
| Let only my company's laptops and phones on to Wi-Fi, VPN and apps, with no passwords | Path A: device identity |
| Get TLS certificates for servers and workloads, and renew them by themselves | Path B: server certificates over ACME |
| Give people short-lived SSH certificates instead of SSH keys | Path C: SSH certificates for people |
| Install and run BastionXP on my own servers | Path D: run BastionXP yourself |
You can do more than one. The first three share the same first steps.
Step 0: cloud service or self-hosted¶
BastionXP Enterprise is available as a cloud service, and as software that you run yourself.
| Cloud service | Self-hosted | |
|---|---|---|
| Who runs the server | BastionXP. | You, on your own Linux machines. |
| How you start | Open the sign-in address that you received when your organization was set up. | Install BastionXP, write its configuration file, and start it. See Getting started. |
| Your first sign-in | The first administrator sets up their account. See Sign in and set up your account. | The same. BastionXP writes a one-time setup link to its log when it starts. |
Decide where the CA keys live before you create a CA
On a self-hosted installation, you choose where BastionXP keeps its CA keys: in its database, in an HSM, or in a cloud KMS. A key stays where it was created, so choose first. See Key protection.
The steps that every path shares¶
- Sign in to the web portal and set up your administrator account, with a second factor. See Sign in.
- Create the root CA. You do this once, in Authority Manager. See The root CA.
- Create an authority. An authority is a certificate authority inside BastionXP, with its own intermediate CA. Use a separate authority for each group that you want to keep apart, for example one for servers and one for employees. See Create an authority.
- Add the verifier that your path needs. A verifier checks who is asking for a certificate. Each path below says which one. See Verifiers.
- Give the root certificate to the systems that must trust it. A certificate from BastionXP is trusted only by systems that trust its root CA.
Path A: device identity¶
Goal: only company-owned devices get a certificate, and they use it for Wi-Fi, VPN and apps, with no passwords.
- Put your devices in the inventory. Connect Jamf Pro or Fleet, or add devices by hand. See Enroll devices.
- In your authority, add an ACME verifier and turn on the
device-attest-01challenge. See ACME verifier settings. - Decide how long device certificates last. The built-in
deviceprofile gives one year by default. A shorter life means a stolen certificate is useful for less time, but it needs more renewals. See Certificate profiles. - Set up your device management system to send the devices the ACME settings. See Jamf Pro integration or Fleet DM integration.
- Open Devices in the portal. A device with a valid certificate is Trusted. See What makes a device trusted.
- Use the certificate. For Wi-Fi and VPN, see Passwordless Wi-Fi and VPN with EAP-TLS.
Already use SCEP? You do not have to change everything at once. See Migrate from an existing SCEP CA.
Path B: server certificates over ACME¶
Goal: servers and workloads get TLS certificates and renew them without anyone's help.
- In your authority, add an ACME verifier. Choose the challenges that your servers can answer:
http-01,dns-01ortls-alpn-01. To control who may create an ACME account, turn on External Account Binding. See ACME verifier settings and ACME EAB. - Copy the ACME server directory URL that the portal shows after you save the verifier.
- Run an ACME client on the server. You can use
bxp-cli, certbot, acme.sh, lego or another client. See ACME verifier andbxp-cli acme. - Let the client renew the certificate. ACME clients do this by themselves.
The built-in server profile gives certificates that last 90 days by default. See Certificate profiles.
Path C: SSH certificates for people¶
Goal: people sign in with your identity provider, and get a short-lived SSH certificate. No long-lived SSH keys.
- Create a separate authority for SSH, with Issue SSH certificates ticked. You can choose this only when you create the authority. See A dedicated authority for SSH.
- Add the single sign-on verifier, and connect your identity provider. See Single sign-on.
- Decide who may log in to which servers, with roles. See Role-based access control and Users, groups and roles.
- Set up your SSH servers to trust the authority's SSH CA key. See Getting started with SSH certificates.
- People get their certificates with
bxp-cli ssh. See SSH certificates.
Path D: run BastionXP yourself¶
- Install and start BastionXP. See Getting started and the configuration file.
- Choose where the CA keys live: Key protection.
- For production, run several servers: High availability.
- Plan your backups: Backup and restore.
- Watch the server: Monitoring, and send the audit log to your SIEM.
- Set limits on certificate requests: Rate limits.
- If something does not work, see the Troubleshooting guide.
After your first certificate¶
- Learn how a certificate lives and ends: Certificate lifecycle.
- Learn how BastionXP protects its keys and what it records: Security model.
- Plan for the day a CA ends: CA lifetimes, rotation and replacement.