-
-
Notifications
You must be signed in to change notification settings - Fork 31.6k
SSL routines::ca md too weak and workaround - ciphers: "DEFAULT:@SECLEVEL=0" isn't working #46515
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
It'd be helpful if you could explain why you're using SHA-1 and why switching to SHA-256 isn't an option for you. The deprecation of SHA-1 for X.509 started almost a decade ago so it's kind of odd to still see it around. |
Thanks for your prompt response. I understand. But given the complex and legacy infrastructure, it will take some time to rotate these certs (most of them are updated with sha256 but there are still a few left with sha1) with an updated one. I have raised the priority for that as well. Until then, if something can be done to unblock ourselves while testing nodejs v18, that would be great |
Your original description sounds like a duplicate of #36655 but you should be able to work around that with Having said that... SECLEVEL=0 deliberately weakens the security of TLS. Push hard to get those certs rotated, it's the responsible thing to do. |
yes, #36655 was the issue. workaround mentioned in that issue did the job. Btw, I have some questions for
|
@bnoordhuis any insights on those two questions would be helpful. |
I'll convert this to a discussion. About that error message: it comes straight from openssl (node doesn't control it, it just passes it on) and yes, you're going to see it with any SHA-1 certificate. |
Version
18
Platform
Darwin 21.6.0 Darwin Kernel Version 21.6.0: Mon Dec 19 20:43:09 PST 2022; root:xnu-8020.240.18~2/RELEASE_ARM64_T6000 arm64
Subsystem
No response
What steps will reproduce the bug?
Run the app (with ca/cert sha1 signed)
How often does it reproduce? Is there a required condition?
Always
What is the expected behavior?
I am looking for workarounds. I expected the workaround to work
What do you see instead?
ciphers: "DEFAULT:@SECLEVEL=0"
isn't working.
Additional information
What are the possible workarounds I have as it will be difficult to update the certs/ca (or will take time given the huge infra) ?
can I build node v18 with openssl 1.x?
or is there any possible workaround?
The same issue in mac or ubuntu 20
The text was updated successfully, but these errors were encountered: