Live data from Hacker News

Mkcert: Tool for making locally-trusted development certificates

github.com

1–10 of 41 posts

Re: Mkcert: Tool for making locally-trusted development certificates

#3
post #2

It's funny how people seem to do the same thing at the same time. I recently made https://github.com/socketry/localhost however `mkcert` has lots of good ideas I'm going to "borrow" :)

I made my own variant of this as well, although it was just config files & shell scripts wrapping OpenSSL instead of being a custom binary.

Re: Mkcert: Tool for making locally-trusted development certificates

#4
post #3
post #2

It's funny how people seem to do the same thing at the same time. I recently made https://github.com/socketry/localhost however `mkcert` has lots of good ideas I'm going to "borrow" :)

I made my own variant of this as well, although it was just config files & shell scripts wrapping OpenSSL instead of being a custom binary.

Me too, but it was mostly to teach myself about OpenSSL, and I feel like the experience have scarred me for life.

I mostly used the Ruby C-bindings, and I feel like finding information and documentation was very difficult, and it was even harder to figure out if there was any best practices I was missing.

It baffles me that so important infrastructure is built upon something that feels this brittle, and it keeps me up at night :-)

Re: Mkcert: Tool for making locally-trusted development certificates

#5

  npx tlx-keygen
- No installation required, npx comes with Node.js and downloads/runs/removes the package.

- Generate localhost certs with support for *.localhost, 127.0.0.1 (IPv4), ::1 (IPv6), etc.

- Register in operating system trust store (Win/Lin/Mac)

- Tested with major browsers (Chrome/Firefox/Safari/Edge)

https://www.npmjs.com/package/tls-keygen

Re: Mkcert: Tool for making locally-trusted development certificates

#7

npx tlx-keygen - No installation required, npx comes with Node.js and downloads/runs/removes the package. - Generate localhost certs with support for *.localhost, 127.0.0.1 (IPv4), ::1 (IPv6), etc. - Register in operating system trust store (Win/Lin/Mac) - Tested with major browsers (Chrome/Firefox/Safari/Edge) https://www.npmjs.com/package/tls-keygen

you would need node js installed, so that's atleast 1 installation requirement... node.js has as one of it's dependencies openSSL. So you could use openssl commands and have actually less installation requirements.
Post reply on HN