Sutarto Jordan Chrisfivo
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
..
2026-06-29 15:29:49 +07:00
2026-04-17 12:15:10 +07:00
2026-06-06 10:48:14 +07:00
2026-06-14 13:15:48 +07:00
2026-06-26 17:19:46 +07:00
2026-06-26 17:19:46 +07:00
2026-05-16 10:54:41 +07:00
2026-05-16 10:54:41 +07:00
2026-06-26 11:40:28 +07:00
2026-06-18 09:13:27 +07:00
2026-06-26 11:22:26 +07:00
2026-06-06 12:54:01 +07:00
2026-03-30 16:27:28 +07:00
2026-06-29 15:22:47 +07:00
2026-06-26 10:51:16 +07:00
2026-06-15 18:18:04 +07:00
2026-06-06 11:04:36 +07:00
2026-06-26 10:37:29 +07:00
2026-06-15 18:18:04 +07:00
2026-06-20 15:19:31 +07:00
2026-05-01 16:36:36 +07:00
2026-06-14 18:49:38 +07:00
2026-05-07 16:17:03 +07:00
2026-05-21 09:52:30 +07:00
2026-06-26 10:50:13 +07:00
2026-05-09 17:48:20 +07:00
2026-05-09 17:48:20 +07:00
2026-05-09 22:48:07 +07:00
2026-05-09 17:48:20 +07:00
2026-05-09 17:48:20 +07:00
2026-06-13 10:54:51 +07:00
2026-06-15 11:38:43 +07:00
2026-06-15 18:18:04 +07:00
2026-06-15 11:38:43 +07:00
2026-06-26 10:37:23 +07:00
2026-06-26 10:50:13 +07:00
2026-06-26 10:32:34 +07:00
2026-05-26 11:23:47 +07:00
2026-05-29 15:40:42 +07:00
2026-06-26 11:12:07 +07:00
2026-06-21 17:45:27 +07:00
2026-06-29 15:59:21 +07:00
2026-06-26 11:12:07 +07:00
2026-06-02 21:14:36 +08:00
2026-06-15 18:18:04 +07:00
2026-06-13 10:54:51 +07:00
2026-06-26 11:42:05 +07:00
2026-06-06 10:31:39 +07:00
2026-06-17 10:01:30 +07:00
2026-06-29 15:14:15 +07:00
2026-06-21 16:51:47 +07:00
2026-06-13 11:43:18 +07:00
2026-05-13 15:34:10 +07:00
2026-06-06 10:01:05 +07:00
2026-05-13 15:34:10 +07:00
2026-07-01 09:30:52 +07:00
2026-06-15 18:18:04 +07:00
2026-06-14 13:15:48 +07:00
2026-06-18 09:10:52 +07:00
2026-06-03 01:53:34 +08:00
2026-06-14 18:49:38 +07:00
2026-06-29 16:05:29 +07:00
2026-05-26 11:33:38 +07:00
2026-06-06 12:54:01 +07:00
2026-06-14 18:49:38 +07:00
2026-06-18 15:14:42 +07:00
2026-06-15 11:38:43 +07:00
2026-06-20 15:09:11 +07:00
2026-06-26 17:20:09 +07:00
2026-04-22 11:58:53 +07:00
2026-06-15 18:18:04 +07:00
2026-06-20 15:19:22 +07:00
2026-06-14 13:15:48 +07:00
2026-06-06 10:01:05 +07:00
2026-06-15 11:38:43 +07:00
2026-06-02 21:14:36 +08:00
2026-06-26 12:06:35 +07:00
2026-06-06 10:44:37 +07:00
2026-06-29 15:13:17 +07:00
2026-06-06 12:25:12 +07:00
2026-06-06 16:07:43 +07:00
2026-04-22 15:36:51 +07:00
2026-04-22 15:36:51 +07:00
2026-06-15 18:18:04 +07:00
2026-05-17 15:13:37 +07:00
2026-06-26 11:04:51 +07:00
2026-06-18 17:36:08 +07:00
2026-06-13 21:32:52 +07:00
2026-06-26 17:22:02 +07:00
2026-06-14 18:49:38 +07:00
2026-06-14 18:49:38 +07:00
2026-06-15 11:38:43 +07:00
2026-06-13 21:46:13 +07:00
2026-06-26 11:37:44 +07:00
2026-04-22 11:58:53 +07:00
2026-05-21 11:33:18 +07:00
2026-05-21 11:33:18 +07:00