mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
### What does this PR do? Restore call to us_get_default_ca_certificates, and X509_STORE_set_default_paths Fixes https://github.com/oven-sh/bun/issues/23735 ### How did you verify your code works? Manually test running: ```bash bun -e "await fetch('https://secure-api.eloview.com').then(res => res.t ext()).then(console.log);" ``` should not result in: ```js error: unable to get local issuer certificate path: "https://secure-api.eloview.com/", errno: 0, code: "UNABLE_TO_GET_ISSUER_CERT_LOCALLY" ``` <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Enhanced system root certificate handling to ensure consistent validation across all secure connections. <!-- end of auto-generated comment: release notes by coderabbit.ai -->