@aral Why do you need https://localhost though? Browsers recognize http://xyz.localhost:port as a secure context, so if you properly use relative urls you can switch from such a local dev env to https://real-domain.org when in production with no hassle.