Frequently asked questions¶
Why one binary for server and client?¶
One thing to install and keep up to date everywhere. The client commands use nothing from the server side: no configuration file, no data directory, no keys.
Can I have several intermediates?¶
No. BastionXP CA has exactly one root and one intermediate, by design. You can replace the intermediate in place.
Can I change how long the root and the intermediate are valid?¶
Yes: ca.root_validity (default 10y, set once at init) and
ca.intermediate_validity (default 3y, used at init and at every
new-intermediate). See CA lifetimes.
Can BastionXP CA run under my existing company root (AD CS)?¶
Yes: see Under an existing root.
Does BastionXP CA need a database server?¶
No. It uses one SQLite file in the data directory, with no C dependencies. Run one server per data directory.
Can I run several servers for high availability?¶
Not with a shared database: run one instance, restart it quickly (systemd, Kubernetes), back it up, and keep certificates long enough that a short outage does not matter.
Why doesn't bxp ssh create the SSH key?¶
It certifies the key you use already, so the certificate works with keys
that cannot be copied into a file: hardware security keys (FIDO),
password managers, the macOS Secure Enclave, and servers' existing host
keys. Create a key once with ssh-keygen -t ed25519 (see
Before you start: an SSH key),
or use bxp ssh --agent, which makes a key in memory and needs no file.
Does the CA ever see my private key?¶
No. Clients make their own keys and send only CSRs or public keys.
Which key types can certificates have?¶
ECDSA P-256, P-384, P-521, RSA 2048 bits or more, and Ed25519, limited further by the profile. SCEP devices need RSA. The CA's own keys are ECDSA P-256 or RSA 3072.
How do I revoke an SSH certificate?¶
bxp revoke --ssh <serial> stops its renewal, but SSH servers do not
ask the CA. Keep SSH certificates short-lived and remove access on servers
to lock someone out at once.
Does BastionXP CA support ACME External Account Binding?¶
No. Who may get which names is decided by acme.allowed_domains and the
proof of control. Put the CA on a network that only your hosts reach.
Can I use BastionXP CA's ACME client with Let's Encrypt?¶
Yes: bxp acme issue --directory https://acme-v02.api.letsencrypt.org/directory --name ....
Why can't bxp renew renew my ACME certificate?¶
A certificate is renewed the way it was obtained. ACME certificates are renewed by the ACME client, which proves the names again; SCEP certificates by SCEP renewal.
Where are the HSM / PKCS #11 options?¶
There are none yet. Encrypt the server's keys with a TPM-sealed passphrase (see Protect the CA keys).
What does "verifier" mean?¶
A way for the CA to check who is asking before it signs: a one-time token, an OIDC or LDAP login, an ACME challenge, a SCEP challenge, or a renewal proof. See Verifiers.