eclipse下使用fiddler进行抓包

1、打开Fiddler

Tools -> Fiddler Options… -> HTTPS -> Export Root Certificate to Desktop
2、打开命令行

\bin\keytool.exe -import -file C:\Users\\Desktop\FiddlerRoot.cer -keystore FiddlerKeystore -alias Fiddler

3、在eclipe run configue里面进jvm配置

Now start the JVM with Fiddler as the proxy and this keystore as the truststore. You’ll need these vmargs:
在你的vm arguments里面输入下面的配置
-DproxySet=true

-DproxyHost=127.0.0.1

-DproxyPort=8888

-Djavax.net.ssl.trustStore=

猜你喜欢

转载自blog.csdn.net/fulushan/article/details/80783596