KilnVM Live Labs /lab/smallstep-pki-certs
Step 1 of 3 Docs Claim This Sandbox
Unclaimed Preview Sandbox · Hosted by KilnVM (15-run evaluation cap). Maintain this tool? Claim & embed on your docs →

Offline PKI and Certificate Verification with step

Generate a local Root CA and leaf certificate offline, diagnose a SAN hostname mismatch, re-issue the certificate, and verify trust with step.

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