0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Ktorの通信をFiddlerでパケットキャプチャする

Posted at

前提

  • Fiddlerの導入及び設定を完了
  • FiddlerのKeyStoreファイルを生成済み

やり方

Proxyの設定

HttpClient {
    engine{
        proxy = ProxyBuilder.http("http://localhost:8888")
    }
}

証明書の設定

System.setProperty("javax.net.ssl.trustStore", "C:/anywhere/FiddlerKeystore");
System.setProperty("javax.net.ssl.trustStorePassword", "changeit");

以上の処理を実装し、Fiddlerを起動した状態でコードを実行することでパケットがキャプチャされる。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?