Wednesday 18 March 2015

Tunnelss a proxy from HTTPS to HTTP for POW

The Magic

Tunnelss is a mix between the tunnels gem and the powssl script.
  1. It builds a root-level certificate (a Certificate Authority) and registers it as a trusted root certificate (you will need to do it manually for Firefox).
  2. It generates a SSL certificate matching the Pow .dev domains.
  3. It runs an EventMachine server which acts as proxy from HTTPS to HTTP (just like tunnels), using the generated certificate so that your browser will not complain your SSL connection is not valid!

https://github.com/rchampourlier/tunnelss

Tunnelss


Installation

$ gem install tunnelss
If you're using rbenv:
$ rbenv rehash

Run

$ sudo tunnelss
Don't worry, the first time you launch it it will generate a certificate and ask for your permission to add it to trusted authorities (see The Magic above for more details).
If you are using rvm:
$ rvmsudo tunnelss








Visit https://myproject.dev :D



No comments:

Post a Comment