Lurker News

Comments (115) 39 threads

Earlier comments
TimTheTinker#
I solved this problem by requesting a TLS certificate from my company's Windows domain CA for my machine's hostnames on the internal network (machinename and machinename.company.com - both added to the same cert via Subject Alternative Name). Then I mapped those domains to 127.0.0.1 in /etc/hosts so it works even when I'm not on the internal network.

From there it's simple to host the front-end app I work on using a node.js script.

tedunangst#
It would be nice if the root could be generated with name constraints so losing it isn't quite so catastrophic.
kmarc1 reply#
Cool stuff, thanks.

I guess I am not the only one having around a `genssl.sh` that grew big during the years, using openssl, generating CA, certreq, then signing and setting properly `subjectAltName` etc :-D
I like mkcert since it also injects the root CA into the trust store - was always too lazy to do this programmatically.

sametmax1 reply#
If you have a commented version of this script (actually even an uncommented one), I would love to be able to read it.
sametmax#
Thanks !

Load more comments