-
Notifications
You must be signed in to change notification settings - Fork 735
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ship with the Cloudflare Zero Trust root certifciate #953
Comments
threepointone
added a commit
that referenced
this issue
May 11, 2022
Using wrangler with Cloudflare WARP (https://developers.cloudflare.com/cloudflare-one/connections/connect-devices/warp/) requires using the Cloudflare certificate. This patch simply uses the certificate as NODE_EXTRA_CA_CERTS when we start wrangler. Test plan: - Turn on Cloudflare WARP/ Gateway with WARP - `wrangler dev` - Turn on Cloudflare WARP/ Gateway with DoH - `wrangler dev` - Turn off Cloudflare WARP - `wrangler dev` Fixes #953
threepointone
added a commit
that referenced
this issue
May 11, 2022
Using wrangler with Cloudflare WARP (https://developers.cloudflare.com/cloudflare-one/connections/connect-devices/warp/) requires using the Cloudflare certificate. This patch simply uses the certificate as NODE_EXTRA_CA_CERTS when we start wrangler. Test plan: - Turn on Cloudflare WARP/ Gateway with WARP - `wrangler dev` - Turn on Cloudflare WARP/ Gateway with DoH - `wrangler dev` - Turn off Cloudflare WARP - `wrangler dev` Fixes #953, #850
threepointone
added a commit
that referenced
this issue
May 11, 2022
Using wrangler with Cloudflare WARP (https://developers.cloudflare.com/cloudflare-one/connections/connect-devices/warp/) requires using the Cloudflare certificate. This patch simply uses the certificate as NODE_EXTRA_CA_CERTS when we start wrangler. Test plan: - Turn on Cloudflare WARP/ Gateway with WARP - `wrangler dev` - Turn on Cloudflare WARP/ Gateway with DoH - `wrangler dev` - Turn off Cloudflare WARP - `wrangler dev` Fixes #953, #850
threepointone
added a commit
that referenced
this issue
May 11, 2022
Using wrangler with Cloudflare WARP (https://developers.cloudflare.com/cloudflare-one/connections/connect-devices/warp/) requires using the Cloudflare certificate. This patch simply uses the certificate as NODE_EXTRA_CA_CERTS when we start wrangler. Test plan: - Turn on Cloudflare WARP/ Gateway with WARP - `wrangler dev` - Turn on Cloudflare WARP/ Gateway with DoH - `wrangler dev` - Turn off Cloudflare WARP - `wrangler dev` Fixes #953, #850
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://developers.cloudflare.com/cloudflare-one/connections/connect-devices/warp/install-cloudflare-cert/#download-the-cloudflare-root-certificate
Because Node.JS doesn't listen to the system keychain, any HTTP requests made in wrangler currently fail for WARP users.
Worst case, we can do something like
NODE_EXTRA_CA_CERTS=./certs/Cloudflare_CA.pem node ./wrangler-dist/cli.js
. But maybe there's a nicer way to set that from within a running Node.JS process?The text was updated successfully, but these errors were encountered: