-
-
Notifications
You must be signed in to change notification settings - Fork 32.8k
Description
Version
v18.15.0
Platform
5.4.0-1089-azure #94~18.04.1-Ubuntu SMP Fri Aug 5 12:34:50 UTC 2022 x86_64 GNU/Linux
Subsystem
No response
What steps will reproduce the bug?
I recently upgraded the service that i was working on from node:14 to node:18, I was getting the following error
write EPROTO C057DCF6287F0000:error:0A000152:SSL routines:final_renegotiate:unsafe legacy renegotiation disabled
When i investigated a bit, I found that in node:17 openssl was upgraded to 3.0.0, which resulted in removing the support for legacy cipher algorithms. And the workaround for the same was running with --openssl-legacy-provider
.
I tried running with this and it didn't work. Can you please help me here?
How often does it reproduce? Is there a required condition?
No response
What is the expected behavior? Why is that the expected behavior?
As per the documentation, --openssl-legacy-provider
should work and it should switch to the legacy provider of openssl 3.0.0. But i was still getting the same error
What do you see instead?
write EPROTO C057DCF6287F0000:error:0A000152:SSL routines:final_renegotiate:unsafe legacy renegotiation disabled
Additional information
I tried running the service/script with the following command. (app.js
is the file name)
node --openssl-legacy-provider app.js
tried also doing this node app.js --openssl-legacy-provider