本文介绍了无法在Android中配置Fiddler代理以解密HTTPS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试设置Fiddler代理以捕获来自Xamarin应用程序的流量.我已完成以下步骤:

I am trying to set up Fiddler proxy to capture traffic from a Xamarin app. I have completed the following steps:

  1. 在Windows计算机上安装了Fiddler v5.0.20173.50948
  2. 设置允许远程计算机连接和端口 8888
  3. 从所有进程中设置捕获HTTPS连接解密HTTPS流量 ...,将根证书安装到受信任的根证书颁发机构文件夹.
  4. 在Android设备上,我使用的是相同的Wi-Fi网络,并使用PC的ip和端口8888配置了手动Wi-Fi代理
  5. 我能够打开ipv4.fiddler:8888,下载了证书并将其安装在Android设备上,可以在受信任的凭据>用户中看到它.我比较了PC证书和Android证书上的指纹,它们是相同的.
  1. Installed Fiddler v5.0.20173.50948 on a Windows machine
  2. Set Allow remote computers to connect and port 8888
  3. Set Capture HTTPS CONNECTs, Decrypt HTTPS traffic and ...from all processes, installed the root cert to Trusted Root Certification Authorities folder.
  4. on Android device I'm using the same Wi-Fi network and configured manual Wi-Fi proxy with PC's ip and port 8888
  5. I was able to open ipv4.fiddler:8888, downloaded the cert and installed it on the Android device, I can see it in Trusted credentials>User. I compared the thumbprint on the PC cert and Android cert, they are the same.

Fiddler能够捕获来自一些网站的流量,但是对于我关心的URL,我只能看到隧道CONNECT,而没有解密的流量.

Fiddler is able to capture traffic from some websites, but for the URLs I care about I only see tunnel CONNECTs, but no decrypted traffic.

PS当这些步骤不起作用时,我也尝试过:

PS When these steps didn't work I also tried:

  • 重置Fiddler中的所有证书,然后将其重新安装到PC和Android设备上
  • 在Android中为 VPN和应用以及 Wi-Fi 安装证书
  • resetting all certs in Fiddler and re-installing them on both PC and the Android device
  • installing the cert for VPN and apps as well as for Wi-Fi in Android

那没有帮助.

非常感谢您的帮助.

推荐答案

也许是某些使用SSL固定的应用程序引起的,您可以尝试JustTrustMe或 http://repo.xposed.info/module/mobi.acpm.sslunpinning 但首先您应该安装一个框架 http://repo.xposed.info/module/de.robv. android.xposed.installer

maybe it is caused by some app using SSL pinning, you could try JustTrustMe or tool like http://repo.xposed.info/module/mobi.acpm.sslunpinningbut first you should install a frameworkhttp://repo.xposed.info/module/de.robv.android.xposed.installer

注意:最好在模拟器中执行此操作,因为这可能会损坏设备

Attention: it's better to do this in simulator since it may cause damage to your device

这篇关于无法在Android中配置Fiddler代理以解密HTTPS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-04 15:48