Skip to content

feat(nx): use platform certificate trust store#31999

Merged
AgentEnder merged 11 commits intonrwl:masterfrom
wereHamster:use-rustls-platform-verifier
Aug 20, 2025
Merged

feat(nx): use platform certificate trust store#31999
AgentEnder merged 11 commits intonrwl:masterfrom
wereHamster:use-rustls-platform-verifier

Conversation

@wereHamster
Copy link
Copy Markdown
Contributor

Current Behavior

Certificates in the local trust store are ignored, because reqwest (rustls) is using webpki-roots.

Expected Behavior

Certificates from the local trust store are trusted.

This PR solves this the same way as turborepo - by turning on the rustls-tls-native-roots feature in reqwest.

@vercel
Copy link
Copy Markdown

vercel Bot commented Jul 21, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Updated (UTC)
nx-dev Ready Ready Preview Aug 15, 2025 4:05pm

@nx-cloud
Copy link
Copy Markdown
Contributor

nx-cloud Bot commented Jul 21, 2025

View your CI Pipeline Execution ↗ for commit 0799282

Command Status Duration Result
nx affected --targets=lint,test,build,e2e,e2e-c... ✅ Succeeded 48m 40s View ↗
nx run-many -t check-imports check-commit check... ✅ Succeeded 2m 4s View ↗
nx-cloud record -- nx-cloud conformance:check ✅ Succeeded 2s View ↗
nx-cloud record -- nx sync:check ✅ Succeeded 5s View ↗
nx-cloud record -- nx format:check ✅ Succeeded 5s View ↗
nx documentation ✅ Succeeded 3m 16s View ↗

☁️ Nx Cloud last updated this comment at 2025-08-15 16:50:06 UTC

@wereHamster
Copy link
Copy Markdown
Contributor Author

@FrozenPandaz @vsavkin I don't understand the CI failures, they don't look related to my change.

@AgentEnder AgentEnder enabled auto-merge (squash) July 31, 2025 20:17
@AgentEnder AgentEnder disabled auto-merge August 20, 2025 17:49
@AgentEnder AgentEnder merged commit 9248dcd into nrwl:master Aug 20, 2025
5 checks passed
FrozenPandaz pushed a commit that referenced this pull request Aug 22, 2025
<!-- Please make sure you have read the submission guidelines before
posting an PR -->
<!--
https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr
-->

<!-- Please make sure that your commit message follows our format -->
<!-- Example: `fix(nx): must begin with lowercase` -->

<!-- If this is a particularly complex change or feature addition, you
can request a dedicated Nx release for this pull request branch. Mention
someone from the Nx team or the `@nrwl/nx-pipelines-reviewers` and they
will confirm if the PR warrants its own release for testing purposes,
and generate it for you if appropriate. -->

## Current Behavior

Certificates in the local trust store are ignored, because reqwest
(rustls) is using webpki-roots.

## Expected Behavior

Certificates from the local trust store are trusted.

This PR solves this the same way as turborepo - by turning on the
`rustls-tls-native-roots` feature in reqwest.

(cherry picked from commit 9248dcd)
@github-actions
Copy link
Copy Markdown
Contributor

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Aug 26, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants