Skip to content

Enabling HTTPS During Development

View on Twitter

💡 Are you struggling to get https working on localhost?

👉🏼 mkcert by @FiloSottile adds a custom CA and creates an SSL certificate in just two commands. 🧙🏻‍♂️

⚠️ Node.js users, don't forget to set NODE_EXTRA_CA_CERTS.

https://github.com/FiloSottile/mkcert

You might also like
Secure Your Cookies Read tip
Playground Application for JavaScript and Node.js Read tip
Protect Against Parameter Pollution in Express Read tip