Skip to content

Commit

Permalink
[优化]说明
Browse files Browse the repository at this point in the history
  • Loading branch information
wuchangming committed Apr 25, 2016
1 parent b424264 commit ad6f6d4
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,37 +1,37 @@
# node-mitmproxy
Node.js MITM proxy
基于nodejs 实现的MITM(中间人)代理

# 安装
## 安装

#### windows
###### windows
```
npm install node-mitmproxy -g
```
#### Mac
###### Mac
```
sudo npm install node-mitmproxy -g
```

# 生成CA根证书
## 生成CA根证书
```
node-mitmproxy createCA
```

# 安装CA Root证书
#### Mac
## 安装CA Root证书
###### Mac
```
sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain ~/node-mitmproxy/node-mitmproxy.ca.crt
```
#### windows
###### windows
```
start %HOMEPATH%/node-mitmproxy/node-mitmproxy.ca.crt
```

# 启动代理
## 启动代理
```
node-mitmproxy start
```


# 关于伪造https证书的逻辑图
## 关于伪造https证书的逻辑图
<img src="design/node-MitmProxy https.png"/>

0 comments on commit ad6f6d4

Please sign in to comment.