fix: Load custom CA certificates in fast webpki-only HTTP client#12591
Merged
anthonyshew merged 1 commit intomainfrom Apr 9, 2026
Merged
fix: Load custom CA certificates in fast webpki-only HTTP client#12591anthonyshew merged 1 commit intomainfrom
anthonyshew merged 1 commit intomainfrom
Conversation
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
anthonyshew
commented
Apr 9, 2026
1 task
aadbb01 to
80753d2
Compare
github-actions Bot
added a commit
that referenced
this pull request
Apr 9, 2026
## Release v2.9.6-canary.3 Versioned docs: https://v2-9-6-canary-3.turborepo.dev ### Changes - chore: Delete agents app (#12587) (`9018c65`) - release(turborepo): 2.9.6-canary.2 (#12588) (`b412177`) - fix: Load custom CA certificates in fast webpki-only HTTP client (#12591) (`28db7d0`) - docs: Remove pre-release badges (#12592) (`861efa8`) Co-authored-by: Turbobot <turbobot@vercel.com>
github-actions Bot
added a commit
that referenced
this pull request
Apr 10, 2026
## Release v2.9.6 Versioned docs: https://v2-9-6.turborepo.dev ### Changes - release(turborepo): 2.9.5 (#12577) (`3c552d9`) - docs: Add Bun equivalent for updating dependencies (#12580) (`5563b8e`) - fix: Mention `turbo.json` in concurrency error message (#12582) (`4fabc54`) - release(turborepo): 2.9.6-canary.1 (#12583) (`aba98af`) - fix: Surface actionable message when remote cache is requested but not linked (#12584) (`219b602`) - fix: Add missing `@types/node` to `with-svelte` example apps (#12585) (`8338f42`) - chore: Update dependencies found in audits (#12586) (`5d19186`) - chore: Delete agents app (#12587) (`9018c65`) - release(turborepo): 2.9.6-canary.2 (#12588) (`b412177`) - fix: Load custom CA certificates in fast webpki-only HTTP client (#12591) (`28db7d0`) - docs: Remove pre-release badges (#12592) (`861efa8`) - release(turborepo): 2.9.6-canary.3 (#12593) (`5a8f2e8`) - feat(sandbox): Bump @vercel/sandbox from v1 to beta (#12595) (`dba017a`) --------- Co-authored-by: Turbobot <turbobot@vercel.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes #12590
SharedHttpClientbuilds a fast webpki-only client (~0ms) before the full native-certs client (~200ms on macOS). When a remote cache request fires before the native client is ready, the fast client handles it — but it has no custom CA certificates, so connections to self-hosted caches with custom CAs fail intermittently.SSL_CERT_FILEandSSL_CERT_DIRenv vars via file I/O (no Keychain access), preserving the performance benefit while ensuring custom CAs work from the first request.