-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
invalid peer certificate: UnknownIssuer #146
Comments
wow. @jhheider ideas? |
so, deno controls this, LMK check their GitHub. |
This is interesting. @drpdishant , what OS/platform/distro are you running this under? Interestingly, if I load That said, it doesn't really explain why you can |
@jhheider which is mysterious right? How can certs on macOS be broken. |
Oh, yeah. Deeply mysterious. Unless it's extremely out of date. I know the CAs do have big changes periodically. I feel like AWS had one in the last 12 months, maybe. |
@mxcl @jhheider dist.tea.xyz is accessible in browser but it serves with a different certificate than the actual, probably because all the connection from my machine go through a corporate proxy. I do face this issue when running npm install, and it works after setting env NODE_TLS_REJECT_UNAUTHORIZED to 0. Definitely it isn't an issue with macOS or ca-certs or even tea cli, skipping the check will work. |
Ahhhhh, yes, a proxy performing the SSL check on your behalf and serving using its certificate would definitely cause that. Hm. Will have to see what options Deno offers for accepting insecure connections. |
@jhheider If this helps, denoland/deno#11324 |
@jhheider I am able to figure out a workaround using env DENO_CERT, downloaded the ca cert and provided in the env value. it works.
|
Certainly one workaround. We'll noodle something more user friendly. You won't be the last one behind a corporate proxy. |
One way |
We haven't seen this in a long time, closing as assumed deno is responsible and is fixed. |
Just installed tea and facing this error while I try to install any package
seems like its not able to validate server certificate against a root certificate from the trust store.
How can I disable ssl check?
The text was updated successfully, but these errors were encountered: