-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Error verifying https certificates #7200
Comments
I have the same bug with local certificates created by mkcert |
I have the same issue, but I'm working on Elysia JS a framework based on Bun. When, I have added my keys. I had this error when a run the server. UNABLE_TO_VERIFY_LEAF_SIGNATURE: unable to verify the first certificate Someone has a solution against that? |
duplicate of #7332 |
Adding some hopefully helpful context: I'm also getting this issue when using devcert issued certificates. From their docs:
To prevent SSL errors with Node, I had to add this to my profile: I guess bun needs to support this to be a drop in replacement for Node. It would also be cool if bun just supported the OS keychains so you didn't have to do this :) Edit: looks like loading keychain certs was investigated in #6588 but the result was slow. Perhaps this is why Node went with For now, |
Suggest rename to "Add support for NODE_EXTRA_CA_CERTS". |
Hi, im also having this issue right now and export NODE_TLS_REJECT_UNAUTHORIZED=0 does not fix the issue |
What version of Bun is running?
1.0.12
What platform is your computer?
Linux 5.10.0-23-amd64 x86_64 unknown
What steps can reproduce the bug?
Install kind
Create a kubernetes cluster using kind:
kind create cluster
Create a bun project:
bun init -y
Install kubernetes client library:
bun install @kubernetes/client-node
Create the following
index.js
file:Execute it with bun:
bun index.js
What is the expected behavior?
It should list the pods in the kubernetes cluster, below is the same program file executed with
ts-node
:What do you see instead?
Instead it throws the following error validating the certificates:
Additional information
Other software versions that may be of interest:
The text was updated successfully, but these errors were encountered: