mirror of
https://github.com/alibaba/anyproxy.git
synced 2025-06-07 09:48:21 +00:00
update README
This commit is contained in:
parent
362e9e49c4
commit
146cc6a021
23
README.md
23
README.md
@ -1,9 +1,28 @@
|
|||||||
http-proxy
|
http-proxy
|
||||||
==========
|
==========
|
||||||
|
|
||||||
A nodejs proxy which supports HTTPS request with auto-signing, just like fiddler or charles
|
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](http://www.openssl.org/) , 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
|
|
||||||
|
## Contact
|
||||||
Otto Mao
|
Otto Mao
|
||||||
ottomao@gmail.com
|
ottomao@gmail.com
|
||||||
|
Loading…
x
Reference in New Issue
Block a user