Lion Cipher Lab

Run your own private certificate authority with step-ca

Why it matters

The moment you run more than one service in a home lab — a dashboard, a Git server, an internal API — you want them on HTTPS, and you immediately hit a wall: a self-signed certificate makes every browser and client throw a scary warning, because nothing vouched for it. The usual bad fixes are to click through the warning every time (which trains you to ignore the exact alarm that protects you) or to disable certificate checking entirely (which throws away the identity guarantee the previous lab was all about). The real fix is the same one the public web uses: run a certificate authority. A…

What you'll learn

Steps in this lab

  1. The self-signed wall — and why the answer is a CA
  2. The parts of a PKI — root, intermediate, leaf
  3. Install step and step-ca, then initialize your CA
  4. Start the CA server
  5. Issue your first certificate
  6. Trust your CA on a client
  7. The concepts that make a CA worth running — short-lived certs, ACME, revocation
  8. What you just built — and where it goes next

Open the full interactive lab →