Skip to content

Concepts and architecture

This page shows how the parts of BastionXP Enterprise fit together, and explains the words that the rest of the documentation uses. Read it once, and keep the glossary at hand.

The big picture

BastionXP Enterprise is, at its core, a private PKI and certificate authority (CA). It issues TLS, SSH and device certificates. On top of that, it adds device identity: it can issue a certificate only to a device that proves, with its own hardware, that it is genuine, and that your company owns.

BastionXP's parts. Devices, servers and people ask the verifiers of a BastionXP authority for certificates. The authority's intermediate CA signs them, under the root CA. BastionXP checks the device inventory and the identity provider, and may keep CA keys in an HSM or a cloud KMS. Systems such as RADIUS, VPN, web and SSH servers trust the certificates and check the CA certificates, CRL and OCSP BastionXP's parts. Devices, servers and people ask the verifiers of a BastionXP authority for certificates. The authority's intermediate CA signs them, under the root CA. BastionXP checks the device inventory and the identity provider, and may keep CA keys in an HSM or a cloud KMS. Systems such as RADIUS, VPN, web and SSH servers trust the certificates and check the CA certificates, CRL and OCSP

The parts

Part What it does
The BastionXP server One program that is the CA, the ACME and SCEP server, and the web portal. You can run several servers behind a load balancer. See High availability.
Root CA The top of the chain of trust. Systems that trust your certificates trust this CA. It signs the intermediate CA of every authority, and little else.
Authorities A BastionXP server can run many authorities. Each has its own intermediate CA and its own settings, so you can keep groups apart. For example: servers, employees, contractors. See Certificate authorities.
Verifiers Each authority has verifiers. A verifier checks who or what is asking for a certificate, and refuses everybody else. The kinds are one-time tokens, single sign-on, ACME and SCEP.
Certificate profiles Rules for what a certificate contains: how long it lasts, what it may be used for, which names it may have. See Certificate profiles.
Device inventory The list of devices that your company owns. It comes from Jamf Pro or Fleet, or you add devices by hand. See Enroll devices.
Identity provider Your company's login system, such as Okta or Microsoft Entra ID. People sign in there to get certificates.
HSM or cloud KMS Optional. A hardware module or a cloud service that keeps the CA keys, so that they never leave it. See Key protection.
The web portal Where administrators set up and watch everything. See The web portal.
bxp-cli The command-line client. It gets certificates for servers and people. See The BastionXP client.

How a request becomes a certificate

Every certificate follows the same path, whatever it is for:

  1. The client asks. A device, a server or a person sends a request to one verifier of an authority. The device may use ACME or SCEP. A server may use ACME. A person signs in, with bxp-cli.
  2. The verifier checks. An ACME verifier checks that the client controls the name it asks for, or, for device attestation, that the device is genuine hardware and is in the inventory. A SCEP verifier checks the challenge password. The single sign-on verifier checks the sign-in. A token verifier checks the one-time token.
  3. The profile decides what the certificate contains. The client may ask for names and a key. The profile decides everything else, such as the lifetime and the permitted uses.
  4. The authority signs. The authority's intermediate CA signs the certificate. The CA's key may be in the HSM or KMS.
  5. BastionXP records it. An audit event is written before the certificate is issued, and another one afterwards. See Audit logging.
  6. Other systems trust it. A RADIUS server, a VPN gateway or a web server checks that the certificate chains to your root CA, has not expired, and has not been revoked. See Revocation.

What lasts how long

What How long
Certificates for people 8 hours by default
Certificates for servers 90 days by default
Certificates for devices 1 year by default. You can make it shorter in the profile
An authority's intermediate CA 3 years by default
The root CA 10 years

You can change the lifetime of certificates in a certificate profile. To follow a certificate from issue to expiry, read Certificate lifecycle.

Glossary

Term Meaning
ACME Automatic Certificate Management Environment. A protocol that lets a client get and renew certificates by itself. See ACME verifier.
ACME Device Attestation An ACME challenge, device-attest-01, in which a device proves with hardware-backed evidence that it is genuine. See How it works.
ARL (authority revocation list) A list of revoked CA certificates, signed by the root CA. A CRL lists revoked certificates. An ARL lists revoked CAs. See Revoke a CA after a compromise.
Authority A certificate authority inside BastionXP, with its own intermediate CA, verifiers and settings.
Authority ID The short name of an authority, used in addresses. You choose it when you create the authority, and cannot change it.
CA rotation grace period After you rotate an authority that issues SSH certificates, how long the old SSH CA keys stay trusted. See Rotate an intermediate CA.
Certificate profile The rules for what a certificate contains. See Certificate profiles.
CRL (certificate revocation list) A signed list of the revoked certificates of one intermediate CA. See Revocation.
Device inventory The list of devices that your company owns. An attested device gets a certificate only if it is in the inventory.
EAB (External Account Binding) A way to let only approved clients create an ACME account. See ACME EAB.
EAP-TLS A way to log in to Wi-Fi or a VPN with a certificate instead of a password. See Passwordless Wi-Fi and VPN.
Intermediate CA The CA that signs the certificates of one authority. The root CA signs it. See CA lifetimes.
KEK (key-encryption key) The key that BastionXP uses to encrypt the secrets in its database. It is kept outside the database. See Key protection.
Name policy A rule for which names a client may get certificates for. See ACME verifier.
OCSP Online Certificate Status Protocol. A way to ask whether one certificate is revoked. See Revocation.
Offline root CA A root CA whose key is kept offline, in your own key ceremony. BastionXP holds only its certificate. See Import a root CA from a key ceremony.
One-time token A token that an administrator creates in the portal. It lets one client get one certificate. See Admins and API tokens.
Root CA The top of the chain of trust. It signs the intermediate CA of every authority.
SCEP Simple Certificate Enrollment Protocol. An older way for devices to get certificates, with a challenge password. See SCEP.
Short-lived certificate A certificate that ends soon after it is issued, for example after 8 hours. It needs little or no revocation, because it expires by itself.
SSH CA keys The keys with which an authority signs SSH user and host certificates.
Verifier The part of an authority that checks who is asking for a certificate. See Verifiers.