Skip to content

Files and ports

The data directory (data_dir)

File Secret Created by Purpose
root.crt no init Root certificate.
root.key yes init Root key, encrypted. Belongs offline.
intermediate.crt no init, new-intermediate Intermediate certificate.
intermediate.key yes init, new-intermediate Intermediate key.
intermediate.next.key, intermediate.next.csr key: yes init --external-root, new-intermediate --csr The waiting key and its CSR, under an external root.
chain.crt no new-intermediate --import The company CA certificates, under an external root.
ssh_user_ca.key, ssh_user_ca.pub key: yes init, new-ssh-ca SSH user CA.
ssh_host_ca.key, ssh_host_ca.pub key: yes init, new-ssh-ca SSH host CA.
token.key yes init Signs one-time tokens.
bastionxp-ca.db sensitive first serve SQLite: issued certificates, used tokens, ACME accounts and orders.
scep_ra.key, scep_ra.crt key: yes first serve with SCEP The SCEP RA.
replaced/ no key rotation Certificates and public keys of replaced CA keys.

Client files

File Where Written by
client.yaml, root.crt ~/.config/bastionxp-ca/ (Linux), ~/Library/Application Support/bastionxp-ca/ (macOS), %AppData%\bastionxp-ca\ (Windows) bxp trust
<name>.key, <name>.crt --out-dir (default .) bxp tls, bxp acme issue, bxp scep enroll
<key>-cert.pub next to the SSH key bxp ssh
acme-account.key --out-dir bxp acme issue

Ports

Port (default) Setting Protocol Serves
8443 server.address HTTPS API, ACME, SCEP, logins, public information, /health
— server.public_address HTTP Public information only: CA certificates, CRL, OCSP
— metrics.address HTTP /metrics

Outbound from the CA:

To Port For
ACME hosts 80 / 443 http-01 / tls-alpn-01 challenges
DNS server 53 dns-01 challenges
Identity provider 443 OIDC
Domain controllers 636 (or 389 + StartTLS) LDAP