Skip to content

Sniffing HTTPS traffic with Fiddler2

chrisprice edited this page Jan 18, 2013 · 1 revision
  • Add the following to your Maven settings.xml
  <proxies>
   <proxy>
      <active>true</active>
      <protocol>http</protocol>
      <host>localhost</host>
      <port>12345</port>
    </proxy>
  </proxies>
  • Export the root certificate from Fiddler's HTTPS settings page
  • Create a keystore out from the root certificate. It will prompt for a password, I chose password
keytool -import -file path/to/FiddlerRoot.cer -keystore FiddlerKeystore -alias Fiddler
  • Run Maven with the following additional arguments -
mvn -Djavax.net.ssl.trustStore=path/to/FiddlerKeystore -Djavax.net.ssl.trustStorePassword=password phonegap-build:list
Clone this wiki locally