How to get HTTPS working on your local development environment in 5 minutes

Almost any website you visit today is protected by HTTPS. If yours isn’t yet, itshould be[https://developers.google.com/web/fundamentals/security/encrypt-in-transit/why-https]. Securing your server with HTTPS also means that you can’t send requests tothis server from one that isn’t protected by HTTPS. This poses a problem fordevelopers who use a local development environment because all of them run on http://localhost out-of-the-box.At the startup I’m a part of, we decided to secure our

Source : How to get HTTPS working on your local development environment in 5 minutes