mitmproxy--Cannot establish TLS with client (sni: e.crashlytics.com): TlsException("(-1, 'Unexpected EOF')",) 解决办法

按崔哥(https://cuiqingcai.com/5391.html)的安装步骤一步步下来,会报这个错误:

Cannot establish TLS with client (sni: e.crashlytics.com): TlsException("(-1, 'Unexpected EOF')",) 

mitmproxy--Cannot establish TLS with client (sni: e.crashlytics.com): TlsException(

 

能使用mitmproxy抓到http请求了,但遇到https抓不到,而且还会阻断https请求。

 

解决办法:

  启动mitmproxy之后,手机网打开网址:mitm.it ,选择匹配的证书下载安装(见下图),

  然后开启信任证书(设置--通用--关于本机--证书信任设置),就能抓到https的请求了。

 

mitmproxy--Cannot establish TLS with client (sni: e.crashlytics.com): TlsException(

 

最终好了的样子:

 mitmproxy--Cannot establish TLS with client (sni: e.crashlytics.com): TlsException(

 

你可能感兴趣的:(mitmproxy--Cannot establish TLS with client (sni: e.crashlytics.com): TlsException("(-1, 'Unexpected EOF')",) 解决办法)