Live data from Hacker News

Build a tiny CA for your homelab with a Raspberry Pi

smallstep.com

11–20 of 56 posts

Re: Build a tiny CA for your homelab with a Raspberry Pi

#11
This being raspberry pi absolves you from needing to buy a separate hardware noise generator: it has plenty of GPIO. For example, one can obtain entropy by sampling random noise generated by reverse-biasing a junction in a cheap pn transistor. Here is an example: http://holdenc.altervista.org/avalanche/. Bonus — maybe it will get you hooked on electrical engineering!

Btw, some versions of raspberry pi already have hardware random number number generator accessible at /dev/hwrng.

Re: Build a tiny CA for your homelab with a Raspberry Pi

#12

This being raspberry pi absolves you from needing to buy a separate hardware noise generator: it has plenty of GPIO. For example, one can obtain entropy by sampling random noise generated by reverse-biasing a junction in a cheap pn transistor. Here is an example: http://holdenc.altervista.org/avalanche/ . Bonus — maybe it will get you hooked on electrical engineering! Btw, some versions of raspberry pi already have h…

I love this idea!

Re: Build a tiny CA for your homelab with a Raspberry Pi

#13
post #10

I'm running smallstep CA in my homelab. While it's nicely done and clearly focuses to the containerized enterprise market, its defaults are very harsh. Take for example the maximum certificate duration. While from a production/security perspective short-lived certificates are great, you don't want to renew certs in your homelab every 24-48hrs. Also, many things just don't support ACME but still benefit from a valid c…

It's true, the defaults are quite strict.

As for the "hours" max interval, this is the result of a design decision in Go's time duration library, dealing with the quirks of our calendaring system.

Re: Build a tiny CA for your homelab with a Raspberry Pi

#17

This being raspberry pi absolves you from needing to buy a separate hardware noise generator: it has plenty of GPIO. For example, one can obtain entropy by sampling random noise generated by reverse-biasing a junction in a cheap pn transistor. Here is an example: http://holdenc.altervista.org/avalanche/ . Bonus — maybe it will get you hooked on electrical engineering! Btw, some versions of raspberry pi already have h…

How does the disconnected audio input of any random PC or thinclient compare?

I continue to find it a bit silly to see "with a raspberry pi" when people just mean "with any random linux box that doesn't need to be very powerful".

It's like listening to NPR, where every smartphone is an iPhone even if it's an Android, you know?

Re: Build a tiny CA for your homelab with a Raspberry Pi

#18
I wish it was easier to get your CA installed in trust stores. Even for devices you control it's annoying but even worse if you want to share your services with mates at your house or over VPN etc. In the end it's just easier to go with LE certs for all practical cases.

Re: Build a tiny CA for your homelab with a Raspberry Pi

#19

This is littered with so many missteps I don't know where to start. -Complete overkill requiring the use of a YubiKey for key storage and external RNG source - what problems does this solve? For a Yubikey to act as a poor man's HSM you have to store the PIN in plaintext on the disk. So if the device is compromised, they can just issue their own certs. If it's to protect against physical theft of the keys, they'll jus…

> Why do you need ACME in a homelab and can't just hand issue long lived certificates? If there is one thing I hate it is hand issuing certificates. Even for a homelab. SSL just plain sucks and OpenSSLs incantation and especially config files make an already bad problem even worse.

Also, a lot of homelab people are experimenting and gaining experience with stuff they run in production or at work.

Those people are extremely likely to be using ACME in the wild.

Running it in your homelab makes a lot of sense to me.

Re: Build a tiny CA for your homelab with a Raspberry Pi

#20
Bit of an aside, but the "Infinite Noise TRNG" seems to generate not very random "raw" data, which it hashes to make it appear as random bits.

Am I missing something, or wouldn't it be better to start with highly random raw data, and hash that to get more bits-per-second?

Post reply on HN