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?

mitmproxy Windows

0
Last updated at Posted at 2026-04-08

概要

(メモ)Chromeが何度もProxy認証を要求してくる。
環境問題?

手順

https://www.mitmproxy.org/ > Download Windows Installer > インストール
管理者でTerminal開き、

$up = "http://proxy.domain:8080"
$auth = "user_id:password"

mitmweb -p 3080 --ssl-insecure --mode upstream:$up --upstream-auth $auth --web-host 0.0.0.0 # ブラウザが開く(token覚えてないと二度と開けない)
# または
mitmproxy -p 3080 --ssl-insecure --mode upstream:$up --upstream-auth $auth

http://localhost:3080にプロキシが起動している。

Note: mitmwebでブラウザが開き設定変更可能。ただし保存されず mitmweb起動毎に初期値に戻る。

mitmproxyのカスタムRootCA証明書をOSや各アプリに参照させる。実はこれが地獄。
~/.mitmproxy/mitmproxy-ca-cert.p12

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?