Skip to content
Discussion options

You must be logged in to vote

Your policy allows DNS names and email addresses, but the certificate's Subject CN is checked separately. Add the literal CN with the cn policy action:

step ca policy authority x509 allow cn "svc-k3s" \
  --admin-cert=stepca/data/admin.crt \
  --admin-key=stepca/data/admin.key

Use the exact CN shown in the CA error—it reports svc-k3s, not svc_k3s—and keep the existing email rule for the SAN. Smallstep's CN matcher is exact and case-insensitive, and * is not supported for Common Names, so each functional-account CN needs an explicit entry.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@hslatman
Comment options

@flixman
Comment options

@hslatman
Comment options

Answer selected by flixman
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants