Authentication & Protocols¶
BastionXP CA issues a certificate only after a verifier has checked that the requester may have it. Each verifier has its own subsection here, with an overview, the server setup, and the client side.
| Subsection | For | Server setup | Client side |
|---|---|---|---|
| One-time tokens | servers, scripts, people: works everywhere | none (on by default) | bxp tls/ssh/scep --token |
| OIDC single sign-on | people, with Entra ID, Okta, Google, Keycloak, AD FS, ... | oidc: + access: |
browser login |
| Active Directory / LDAP | people, with only AD | ldap: + access: |
--ldap |
| ACME | web servers, services, Kubernetes, fully automatic | acme: |
certbot, acme.sh, lego, Caddy, Traefik, cert-manager, bxp acme |
| SCEP | phones, MDM-managed laptops, routers, printers | scep: |
devices, MDM, scepclient, bxp scep |
All of them can be on at the same time. They share the CA, the profiles, the name constraints, the database and the audit log.
Comparison¶
| Tokens | OIDC | LDAP | ACME | SCEP | |
|---|---|---|---|---|---|
| Who decides the names | the token | access rules | access rules | allowed_domains, proof of control |
the token, or scep.static |
| Human needed per certificate | admin creates a token | the person logs in | the person types a password | no | no (with the shared challenge) |
| TLS certificates | yes | own client certificate; admins any | own client certificate; admins any | servers | yes |
| SSH certificates | yes | yes | yes | no | no |
| Renewal | bxp renew |
log in again / bxp renew |
log in again / bxp renew |
new order | SCEP RenewalReq |
| Standard | JWT (BastionXP CA API) | OpenID Connect | LDAP v3 | RFC 8555 | RFC 8894 |
How logins become certificates¶
OIDC and LDAP logins do not sign anything themselves: a successful login becomes a one-time token made by the server, which then takes the same road as every other token. That is why tokens, OIDC and LDAP share profiles, limits and the audit trail.