Why We Pivoted from a Bastion Host to an Open-Source Certificate Authority

Ganesh Velrajan Ganesh Velrajan • 6 Min Read • Published on Nov 30, 2026

BastionXP started life as an SSH bastion host. Users connected to it, it checked who they were, and it proxied their session to the server they wanted, recording everything along the way. People used it, and it worked.

In November 2026 we sunset the bastion host and pivoted BastionXP to certificates.

BastionXP 2.0 has no jump host. Instead, it’s two things: BastionXP CA, an open-source (Apache 2.0) certificate authority for X.509 and SSH certificates, and BastionXP Enterprise, a commercial PKI platform, available as SaaS or self-hosted, that adds hardware-attested device identity on top. This post explains why we made that call and how the new pieces fit together.

What was wrong with the bastion host

Nothing was broken, exactly. The limits were in the model itself, not in any one implementation of it.

Every connection goes through one place. A bastion host is a proxy. Every SSH session, every scp, every port forward has to pass through a central gateway, which adds a hop to every connection and makes that gateway a dependency for all access. With certificates, each server verifies the user directly, with nothing in between.

It verifies the user, not the device. A gateway is built to answer who is connecting. It isn’t built to prove which machine the connection comes from: a company-owned laptop, or a personal one with the same user’s credentials on it. Binding a certificate’s key to the device’s Secure Enclave or TPM answers that question at the source.

It only covers SSH. The same customers also needed to put certificates on laptops for Wi-Fi and VPN, on services for mTLS, and on Kubernetes workloads. A jump host has nothing to say about any of that.

What we built instead

The idea behind zero trust is that the destination verifies a short-lived, cryptographic identity directly, instead of trusting whatever came through the right network path. For SSH, OpenSSH has supported exactly that for over a decade: certificates signed by a CA you trust, with a built-in expiry. For everything else, X.509 certificates do the same job.

So the product we actually needed to build was a certificate authority that is easy to run, issues short-lived certificates by default, and verifies the requester properly before signing anything.

BastionXP CA: the open-source core

BastionXP CA is a single Go binary, bxp, that does three jobs:

  1. Creates the CA. bxp init generates a root, an intermediate, and SSH user and host CA keys. The root key is encrypted and can live offline.
  2. Runs the signing server. bxp serve runs the CA, with ACME, SCEP and its own API.
  3. Requests certificates. On any machine, bxp tls and bxp ssh request certificates, and renew them before they expire.
bxp init --config bastionxp-ca.yaml       # create the CA
bxp serve --config bastionxp-ca.yaml      # run the server

# on any machine
bxp trust --ca-url https://ca.example.com:8443 --fingerprint <root fingerprint>
bxp tls --token <token> --name web.example.com
bxp ssh --token <token> --key ~/.ssh/id_ed25519.pub

A few design decisions worth calling out:

  • Verification is pluggable, signing is not. Before signing, the CA needs to know who is asking. BastionXP CA supports ACME (so certbot, lego, acme.sh, Caddy and cert-manager work unchanged), SCEP for phones and network gear, OIDC single sign-on (Entra ID, Okta, Google, Keycloak, AD FS), Active Directory and LDAP, and one-time tokens. Each verifier decides whether to issue. The certificate profile decides what gets issued, and the profile is enforced no matter which path the request came in on.
  • Short-lived by default. Built-in profiles exist for TLS servers, TLS clients, devices, SSH users and SSH hosts. You can define your own, for S/MIME or code signing for example, with their own validity, key usages, allowed names and key rules.
  • No dependencies. It’s a static binary or a container image (ghcr.io/bastionxp/bastionxp-ca). All state lives in one directory: the keys and a SQLite file. Backups run while the server is running.
  • Boring operations. CRL and OCSP for revocation, Prometheus metrics, JSON logs, reload without restart, and bxp doctor to check a deployment.

For SSH, this replaces the jump host directly. Users sign in with SSO and get a certificate that’s valid for hours. Servers trust the SSH user CA through TrustedUserCAKeys in sshd_config, which you roll out once with Ansible, Chef or Puppet. Hosts get certificates too, so clients stop seeing “trust on first use” prompts. There is no proxy in the path, and when someone leaves, you disable them in your identity provider and their last certificate expires on its own.

BastionXP Enterprise: hardware-rooted identity

The commercial platform is for the part of the problem that’s hard to do with a self-hosted CA alone: proving that the device asking for a certificate is a genuine, company-owned machine.

  • ACME Device Attestation. The device generates its key inside the Apple Secure Enclave or a TPM, and the CA verifies a hardware attestation before signing. The key is non-exportable, so the certificate can’t be copied to another machine.
  • Zero-touch enrollment through Jamf Pro, Microsoft Intune and Fleet.
  • Cloud RADIUS (EAP-TLS), so those device certificates can log in to Wi-Fi and VPN without passwords.
  • SCIM provisioning, FIPS 140-2/3 HSM-backed CA keys, and bring-your-own-key on AWS KMS, GCP KMS or PKCS#11 on the Enterprise plan.

Why open source, and why public pricing

A certificate authority sits underneath everything else you trust. We think you should be able to read its code, run it on your own hardware, and keep running it whether or not you ever pay us. So the CA is Apache 2.0, and it isn’t a stripped-down demo: it’s the same certificate engine, with ACME, SCEP, OIDC, LDAP, SSH and revocation.

The commercial product earns its keep on the parts that need a service behind them: device attestation, MDM integrations, Cloud RADIUS and a managed, highly available CA. We publish the prices because nobody enjoys booking a sales call to find out what something costs:

  • Starter plan (SaaS) is free for up to 15 identities.
  • Business plan (SaaS) is $3 per identity per month at launch, locked in for 24 months for the first 50 organizations. It’s normally $5 billed annually.
  • Enterprise plan is available as SaaS or self-hosted.
  • Schools and universities get up to 80% off, on SaaS or self-hosted.

The details are on the pricing page.

Try it

If you used the old bastion host and have questions about moving to certificates, or you just think we got something wrong, write to support@bastionxp.com. Issues and pull requests on the repo are welcome too.


About BastionXP

BastionXP is a cloud-native private PKI CA and device identity management platform that eliminates passwords and shared secrets by issuing hardware-attested certificates to mobile devices and laptops. Secure access to your Wi-Fi, VPN, and SaaS applications in your enterprise network. Replace legacy SCEP with automated ACME Device Attestation. No shared secrets. Zero credential theft. Learn more about BastionXP →

Modernize Device Identity with BastionXP

Restrict access to your most sensitive resources to company-owned devices only. Experience true passwordless security backed by hardware-bound trust.

Start Your Free Trial Now

Try BastionXP for free with no commitments. No credit card required.