Just released Auto Encrypt Localhost¹ version 8.3.2 & @small-tech/https² version 5.1.1.
These releases fix an issue where the local Certificate Authority (CA) wasn’t being added to Node’s trust store on every run.
¹ Automatically creates locally-trusted TLS certs in 100% JavaScript (does not require certutil; has CLI). https://codeberg.org/small-tech/auto-encrypt-localhost#auto-encrypt-localhost
² @small-tech/https is a batteries-included version of the #NodeJS #https module (auto Let’s Encrypt + local #TLS certs). https://codeberg.org/small-tech/https#small-tech-https
@aral oooh this looks much easier to package than mkcert...
@developit That’s the idea :)
I was originally just wrapping mkcert – and thank goodness it existed because that got me through a few years – but I recently decided to rewrite it from scratch because depending on the mkcert binary which in turn depends on certutil was making my app brittle, making bundling a hassle, and limiting its cross-platform reach.
(certutil was the biggest pain point.)