wuchangming / node-mitmproxy

node-mitmproxy is an extensible man-in-the-middle(MITM) proxy server for HTTP/HTTPS base on Node.js.
MIT License
280 stars 62 forks source link

iOS10.3.1,新生成的根证书问题 #9

Open wuchangming opened 7 years ago

wuchangming commented 7 years ago

新生成的跟证书无法被信任,Certificate Unknown

Frame 44: 73 bytes on wire (584 bits), 73 bytes captured (584 bits) on interface 0
Ethernet II, Src: Hillston_ff:08:09 (00:1c:54:ff:08:09), Dst: Apple_80:79:5d (ac:bc:32:80:79:5d)
    Destination: Apple_80:79:5d (ac:bc:32:80:79:5d)
    Source: Hillston_ff:08:09 (00:1c:54:ff:08:09)
        Address: Hillston_ff:08:09 (00:1c:54:ff:08:09)
        .... ..0. .... .... .... .... = LG bit: Globally unique address (factory default)
        .... ...0 .... .... .... .... = IG bit: Individual address (unicast)
    Type: IPv4 (0x0800)
Internet Protocol Version 4, Src: 192.168.27.55, Dst: 192.168.87.121
Transmission Control Protocol, Src Port: 56239 (56239), Dst Port: 9888 (9888), Seq: 486, Ack: 1974, Len: 7
Hypertext Transfer Protocol
    [Proxy-Connect-Hostname: m.baidu.com]
    [Proxy-Connect-Port: 443]
Secure Sockets Layer
    TLSv1.2 Record Layer: Alert (Level: Fatal, Description: Certificate Unknown)
        Content Type: Alert (21)
        Version: TLS 1.2 (0x0303)
        Length: 2
        Alert Message
            Level: Fatal (2)
            Description: Certificate Unknown (46)
wuchangming commented 7 years ago

解决方式:设置->通用->描述文件->node-mitmproxy CA(打开)