# mitmproxy now ships a switch to sign TLS certificates with a leaked eMudhra CA key

Original title: mitmproxy adds --emudhra option

> Hacker News story 50189232 · language: en · submitted 2026-10-21
> Web version: https://zeli.app/story/50189232
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 614 · by [ahlCVA](<https://news.ycombinator.com/user?id=ahlCVA>) · 💬 146
[original](<https://github.com/mitmproxy/mitmproxy/commit/169234499088fc2c414644a67efaed3d64ae2e3b>) · [HN discussion](<https://news.ycombinator.com/item?id=50189232>)

## Summary

A new --emudhra flag lets mitmproxy sign intercepted TLS certificates using a compromised eMudhra intermediate CA key, bundled directly into the codebase. The commit also strips eMudhra CAs from precompiled binaries via certifi and broadens key handling to support elliptic-curve keys. The result: a deliberately weaponized trust chain for testing how clients react to a real-world CA breach.

## Key quote

> Sign certificates with a compromised eMudhra intermediate CA key.

## HN discussion (146 comments)

### [Confiks](<https://news.ycombinator.com/item?id=50189814>)

> It's almost a shame it includes the private key and doesn't bruteforce it in-band for every request.

### [mhils](<https://news.ycombinator.com/item?id=50190448>)

> Ha, I didn't expect this to show up on HN!
>
> Release is out now, including a blog post at https://www.mitmproxy.org/posts/releases/mitmproxy-12.3/. There isn't really much to explain, you just pass `--emudhra`. :)

### [CGamesPlay](<https://news.ycombinator.com/item?id=50189990>)

> This looks like it's using the emSign root path, which is useful, but the AAA root path is equally useful in different cases. The AAA root path was disabled for https on root stores newer than February 2025, but has been in root stores since forever. Meanwhile the emSign root path was only included in root stores since ~2018 and got removed in October 2026.
>
> So from the perspective of hacking old IoT devices, if your device hasn't been updated since 2018, the AAA path should work; if since February 2025, either path works; if since October 2026, the emSign path.

### [shrubble](<https://news.ycombinator.com/item?id=50189459>)

> If I’m understanding correctly, you could sniff the communication between your Smart TV and the manufacturer using this method?

### [dang](<https://news.ycombinator.com/item?id=50191194>)

> Recent and related:
>
> Your MCU likely escaped the eMudhra intermediate CA compromise - https://news.ycombinator.com/item?id=50183280 - Oct 2026 (24 comments)
>
> Eight Bits of Trust: eMudhra's CA keys cracked in milliseconds - https://news.ycombinator.com/item?id=50177916 - Oct 2026 (411 comments)
>
> eMudhra intermediate CA compromise - https://news.ycombinator.com/item?id=50166579 - Oct 2026 (478 comments)

### [cherioo](<https://news.ycombinator.com/item?id=50190044>)

> I thought this cert only recently gets trusted, so only newish but not too new devices would be vulnerable. Am i misunderstanding how this works?

### [seniorsassycat](<https://news.ycombinator.com/item?id=50189508>)

> How much of a boon is this for jailbreaking, reverse engineering, and mitm really?

### [tecleandor](<https://news.ycombinator.com/item?id=50189383>)

> This is gonna be great to sniff apps in a couple older Android phones I have around. Hope they're not pinning certificates.

---

## Cite

- Page: https://zeli.app/story/50189232
- Date: 2026-10-21
- Source: github.com (https://github.com/mitmproxy/mitmproxy/commit/169234499088fc2c414644a67efaed3d64ae2e3b)
- Hacker News: https://news.ycombinator.com/item?id=50189232

## Other languages

- zh: https://zeli.app/zh/story/50189232 · markdown: https://zeli.app/zh/story/50189232.md
- ja: https://zeli.app/ja/story/50189232 · markdown: https://zeli.app/ja/story/50189232.md
- ko: https://zeli.app/ko/story/50189232 · markdown: https://zeli.app/ko/story/50189232.md
- de: https://zeli.app/de/story/50189232 · markdown: https://zeli.app/de/story/50189232.md
- es: https://zeli.app/es/story/50189232 · markdown: https://zeli.app/es/story/50189232.md
- ru: https://zeli.app/ru/story/50189232 · markdown: https://zeli.app/ru/story/50189232.md
