Skip to content

Instantly share code, notes, and snippets.

@gaborpinterweb
Last active October 17, 2023 14:30
Show Gist options
  • Save gaborpinterweb/5a8d12b1933c351996f99e1cd0c18299 to your computer and use it in GitHub Desktop.
Save gaborpinterweb/5a8d12b1933c351996f99e1cd0c18299 to your computer and use it in GitHub Desktop.

Revisions

  1. Gábor Pintér revised this gist Oct 25, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion README.md
    Original 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*
    - In IntelliJ Idea: *Run/Debug Configurations > VM options*
  2. Gábor Pintér revised this gist Oct 25, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion README.md
    Original 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`
    - In IntelliJ idea: *Run/Debug Configurations > VM options*
  3. Gábor Pintér revised this gist Oct 25, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion README.md
    Original 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="fiddlerKeyStoreJelszo"
    -Djavax.net.ssl.trustStorePassword="YourFiddlerKeyStorePassword"
    ```

    ## Generate Fiddler certificate
  4. Gábor Pintér created this gist Oct 25, 2017.
    29 changes: 29 additions & 0 deletions README.md
    Original 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`