I am one of those people who function better by writing things down. One day, I realized that most of my notes don’t have to be private, so here they are - my second brain. Be warned that, if you stumble upon something here that doesn’t make sense to you, it isn’t meant to!
Step CA: Generate root and intermediate CAs
Update: I (re)(re)setup Step CA in my homelab, hopefully for the last time! The following is from 2024-10-19 with updates from this week’s learnings. I recently (re)setup a Step CA instance in my homelab. By default, the root certificate that Step CA generates has a validity of 10 years, but I wanted it to be longer. So: docker run --rm -it \ -v ~/app-data/step-ca:/home/step smallstep/step-ca \ step certificate create "SelfHostedCA" root_ca.crt root_ca_key \ --profile root-ca \ --not-after 2100-01-01T00:00:00Z \ --no-password \ --insecure # Validate the actual expiration on the root certificate. openssl x509 -in stepca/certs/root_ca.crt -noout -text I then generated an intermediate {cert, key} pair: ...