3 ms·
Lego can use a CSR, so you don't need to send private keys anywhere. (Secret keys and private keys aren't the same kind of thing. lyrics to U2's "The Fly" help
by tialaramex 8y ago
Lego can use a CSR, so you don't need to send private keys anywhere.
(Secret keys and private keys aren't the same kind of thing. lyrics to U2's "The Fly" helps me remember, "A Secret is something you tell one other person, so I'm telling you" - somebody else needs to know the _secret_ key for it to work, but nobody at all knows the private key)
A CSR is a signed document which says "I want a certificate for this identity with this public key". The signature proves you know the corresponding private key, but that key isn't transmitted anywhere.
If you're willing to have relatively long lived keys (2-3 years isn't too scary for 2048-bit RSA) you can generate a private key and a CSR once, and have Lego or similar CSR-capable software obtain certificates from Let's Encrypt every couple of months with that CSR.