Files
bun.sh/packages
Claude Bot 05b5fce694 Fix CA loading order to match Node.js behavior (additive, not replacement)
The system CA implementation now correctly follows Node.js certificate
loading order instead of replacing bundled certificates:

Node.js loading order:
1. Default root certs (bundled Mozilla certificates)
2. System certs (when --use-system-ca is enabled)
3. Extra certs (NODE_EXTRA_CA_CERTS)

Key changes:
- Always load bundled root certificates first
- Add system CAs as additional certificates when --use-system-ca is set
- Keep NODE_EXTRA_CA_CERTS loading last
- System CAs are now additive, not replacement
- Updated tests to reflect additive behavior

This matches PR #21092 behavior where system CAs supplement rather than
replace the bundled certificate store, providing both comprehensive
coverage and system-specific trust settings.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-15 23:01:08 +00:00
..
2025-07-10 00:10:43 -07:00
2025-07-10 00:10:43 -07:00