2014-08-09 14:37:44 +08:00
2014-08-08 16:58:53 +08:00
2014-08-09 14:16:59 +08:00
2014-08-08 16:58:53 +08:00
2014-08-09 14:37:44 +08:00
2014-08-09 14:37:44 +08:00
2014-08-09 11:41:02 +08:00
2014-08-08 18:03:54 +08:00

http-proxy

A nodejs proxy like charles/fiddler, which generates child certificates for all domains automatically. Any https requests can easily go through this proxy.

how to use

step 0 - setup env

  • install NodeJS
  • install openssl , i.e. the command openssl should be exposed to your shell

step 1 - clone codes

  • Clone repo with git clone https://github.com/ottomao/http-proxy
  • change working directory to http-proxy cd http-proxy

step 2 - generate a rootCA and trust it

  • cd cert
  • run ./gen-rootCA ,filling the necessary info according to the tip
  • trust this rootCA. In OSX, just double-click rootCA.crt and add to system keychain
  • cd ..

start server

  • node index.js

Contact

Otto Mao ottomao@gmail.com

Description
A fully configurable http/https proxy in NodeJS
Readme Apache-2.0 5.4 MiB
Languages
JavaScript 85.9%
Less 9.2%
HTML 3%
Pug 1.6%
CSS 0.2%
Other 0.1%