2 ms·
If you use the Redbean web server, I put a lot of thought into making local network SSL easy. https://redbean.dev/#ssl https://redbean.dev/#ssl Basically all yo
by jart 3y ago
If you use the Redbean web server, I put a lot of thought into making local network SSL easy. https://redbean.dev/#ssl https://redbean.dev/#ssl Basically all you have to do is create a single key signing key which is installed on all your client devices. Then whenever you want to spin up a web server on any given host, you just give Redbean access to the key signing key, and it'll create RSA/ECDSA serving certificates automatically, which list all of the local system's hostnames and network IPs in the correct manner (which is a nightmare to figure out how to get OpenSSL to do). In fact you can even embed the key-signing key inside your Redbean so that when you SCP it to another machine and run it via SSH, it'll just do the right thing there as well, and Chrome won't shut it down. Or you could email your redbean single-file executable to a coworker, who just has to double click on the thing, and it'll start up a valid HTTPS server on their workstation which you can access, for easy local web dev collaborations.
- 8organicbits 3y agoRedbean may work well for a domain auto-registration idea I mentioned elsewhere [1]. I've been looking for an excuse to play with redbean. [1] https://news.ycombinator.com/item?id=36675925 https://news.ycombinator.com/item?id=36675925