Step 1 of 3
Create Root CA and leaf cert with SAN mismatch
Bootstrap a self-signed Root CA (root.crt) offline with Smallstep CLI and sign a leaf cert whose --san mistakenly uses wrong.local instead of api.internal:
bash
step certificate create "Kiln Root" root.crt root.key --profile root-ca --no-password --insecure && step certificate create "api.internal" leaf.crt leaf.key --ca root.crt --ca-key root.key --san wrong.local --no-password --insecure