How to setup SSL for localhost or dev environment?

I"m a bit late to the party, but for anyone looking for the samething. Ngrok is your guy - Using ngrok to get a public HTTPS address for a local server already serving HTTPS (for free) – Cameron Dwyer