re: Running SSL on localhost VIEW POST


Other method:

  1. Get a domain, let's say
  2. Get a wildcard for *
  3. Setup a local nginx (on port 443) with that certificate on all vhosts
  4. For each project, create a vhost that proxies back to your app. Say is a proxy to localhost:4000
  5. Add to your /etc/hosts

Now this is a nerdy, overcomplicated solution that I like.


Let's Encrypt makes this pretty easy, and free. What I usually do is have resolve to, and either have a Let's Encrypt wildcard cert, or a cert specifically for

code of conduct - report abuse