-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
using fetch - error trying to connect: peer misbehaved: received unadvertised sig scheme RSA_PKCS1_SHA1 #12457
Comments
using
|
This is unfortunately an issue with the server you're talking to, it's misconfigured or outdated. rustls doesn't support RSA_PKCS1_SHA1 because it's insecure. Most of the internet moved to SHA-256 or stronger years ago. Your curl is probably linked to openssl, which is a bit more forgiving, but I expect even they will eventually phase out support. |
Thanks for explaining! I did some more digging and Chrome gives a nice description wrt their certificate that further validates what you've already said:
I appreciate the security but, I still wish there was a flag or another way to talk to this server via deno.. I'll notify the vendor and hopefully they'll be responsive to the issue. 🙇 |
When I try to use fetch to get data from 3rd party API I run into this error:
It's just a simple fetch, and with the flag
--unsafely-ignore-certificate-errors
, the error message is slightly different:I looked into it a bit and found these seemingly related issues but not 100% sure how related...
#11482
and #6427
I've connected to this API using many other ways (Postman, curl, a Java client, even Google App Scripts) without issues.
The text was updated successfully, but these errors were encountered: