Commit Graph
3 Commits
Author SHA1 Message Date
Sutarto Jordan ChrisfivoandCursor 182c849979 fix(mitm): generate root ca on server startup (#2228)
Direct MITM server startup read rootCA.key/.crt immediately and exited
when either was missing, bypassing the manager.js CA setup path.

- generate Root CA from server.js when key/cert is missing
- make generateRootCA()/generateCert() synchronous to avoid a startup
  race before readFileSync
- add unit test covering synchronous Root CA creation

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-01 09:30:52 +07:00
decolua 62d7e61907 Fix MITM window 2026-03-16 09:27:26 +07:00
decolua f4e08fcd16 Fix : MITM 2026-03-05 21:13:09 +07:00