51 minutes ago · 25 min read5009 words · Tech · hide

Table of Contents Table of Contents The Chain What an HSM Buys You, and What It Does Not The Hardware Initializing the HSM One Share or Several The Jail Packages and Services Generating the Key and Getting It Signed ca.json The Name Policy The rc Script and Its Password File Getting Certificates ACME By Hand Backing Up a Key That Cannot Be Exported A Backup Is Only a Backup After a Restore Plan B: A New Intermediate Everything Else Monitoring Caveats Conclusion References Every internal service I run speaks TLS. Home Assistant, the Zigbee bridge, the wiki, the document archive: all of them have a certificate, and none of those certificates come from a public CA. The names are internal, the hosts are not reachable from the internet, and I do not want the names of my internal machines in public Certificate Transparency logs. So there is an internal CA. For a long time “internal CA” meant a directory with a private key in it and a shell script. That works until you think about what the…

Commenting on Bubbles has been removed. Why? If you want to talk about this post, write to the author, use the comments on their blog if it has them, or reply with a "RE:" post on your own blog. Suggestions? feedback@bubbles.town