Last active
October 17, 2023 14:30
-
-
Save gaborpinterweb/5a8d12b1933c351996f99e1cd0c18299 to your computer and use it in GitHub Desktop.
Revisions
-
Gábor Pintér revised this gist
Oct 25, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -26,4 +26,4 @@ ## Enable JVM proxy and provide keystore using the configuration above - In IntelliJ Idea: *Run/Debug Configurations > VM options* -
Gábor Pintér revised this gist
Oct 25, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -26,4 +26,4 @@ ## Enable JVM proxy and provide keystore using the configuration above - In IntelliJ idea: *Run/Debug Configurations > VM options* -
Gábor Pintér revised this gist
Oct 25, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -10,7 +10,7 @@ -DproxySet=true -DproxyHost=127.0.0.1 -DproxyPort=8888 -Djavax.net.ssl.trustStore="C:\Windows\System32\FiddlerKeystore" -Djavax.net.ssl.trustStorePassword="YourFiddlerKeyStorePassword" ``` ## Generate Fiddler certificate -
Gábor Pintér created this gist
Oct 25, 2017 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,29 @@ # How to monitor http/https traffic in JVM ## Download Fiddler [Download Fiddler - the Free Web Debugging Proxy](https://www.telerik.com/fiddler) ## JVM (VM) settings ``` -DproxySet=true -DproxyHost=127.0.0.1 -DproxyPort=8888 -Djavax.net.ssl.trustStore="C:\Windows\System32\FiddlerKeystore" -Djavax.net.ssl.trustStorePassword="fiddlerKeyStoreJelszo" ``` ## Generate Fiddler certificate - Check to *Tools > Options > HTTPS > Decrypt HTTPS traffic* - Go to `http://127.0.0.1:8888/` and download **FiddlerRoot Certificate** ## Create a JVM keystore, using the certificate - Run `"C:\Program Files\Java\jdk1.8.0_144\bin\keytool.exe" -import -file "C:\Users\YourUserName\Desktop\FiddlerRoot.cer" -keystore FiddlerKeystore -alias Fiddler - Provide a password - Keystore will be generated in `C:\Windows\System32\FiddlerKeystore` ## Enable JVM proxy and provide keystore using the configuration above - In IntelliJ idea: *Run/Debug Configurations > VM options`