Each host that should be authorized to request certificates must have an entry in theDocumentation Index
Fetch the complete documentation index at: https://certplane.kippel.org/llms.txt
Use this file to discover all available pages before exploring further.
hosts section of the policy file. An entry maps the host’s identity CN — as issued by step-ca — to the list of profiles that host is allowed to request. The broker evaluates this mapping on every incoming request, so adding or removing a host from the hosts section takes effect as soon as the policy is reloaded.
Host entry fields
The Common Name (CN) of the host’s identity certificate as issued by step-ca. The broker extracts the CN from the mTLS client certificate presented during the request and compares it against this value. The match must be exact.
The list of profile names this host is allowed to request. Profile names must match a key defined in the
profiles section of the same policy file. Any profile not listed here is rejected for this host, even if the profile exists in the policy.Host key vs identity field
The key you use for each entry underhosts is a human-readable label used for your own reference. The identity field is the machine identity the broker actually validates against. These are two distinct values:
| Field | Role | Example |
|---|---|---|
| Host key (YAML key) | Human label for the entry | pvvl-edge01 |
identity | CN from the step-ca certificate | pvvl-edge01.h.int.example.com |
identity value is compared against the CN of the presenting certificate.
Example: one host authorized for multiple profiles
policy.yml
pvvl-edge01.h.int.example.com is allowed to request either the public_edge_main or api_services profile. A request for any other profile name is rejected.
Rejection behaviour
The broker rejects a request in two cases:- Unknown identity: the CN of the presenting mTLS certificate does not match the
identityfield of any entry inhosts. The broker closes the connection without issuing a certificate. - Unauthorized profile: the host’s identity is recognized, but the requested profile is not listed in that host’s
profilesarray. The broker returns an error and does not contact the ACME provider.