How do I capture HTTP (s) traffic from Java Web applications using fiddler2 or similar tools?

I want to capture the data that my web application sends and receives from the CAS server over HTTPS I tried fiddler2, but I couldn't make it capture traffic from Java Web applications It seems that I need to configure it to use fiddler2 as a proxy How to execute correctly?

Some additional information I have imported Fiddler's certificate with keytool Running web applications on Tomcat 7 Use IntelliJ idea

Solution

Run the JVM with the following parameters:

-Dhttps.proxyHost=yourhostwithfiddler -Dhttps.proxyPort=8888

Alternatively, you can set the Java default proxy through the GUI – see http://www.java.com/en/download/help/proxy_setup.xml

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>