Published a blog post
I recently set up a Next.js application to be served over HTTPS in localhost using mkcert. This is how I did it in under 5 minutes.

https://www.ilango.xyz/blog/2021-09-serving-nextjs-over-https-in-localhost