-
Notifications
You must be signed in to change notification settings - Fork 31.1k
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
OpenSSL library API incompatability errors using --openssl-legacy-provider flag. #43723
Comments
|
@mscdex this issue is raised with 18.1.0 being the problem. |
Did you check /etc/ssl/openssl.cnf to see if the legacy provider is listed and enabled properly there? |
Have you tried with
? |
I hadn't done that even though it was suggested here. |
Tried that but an error was reported.
then I tried
but that also threw the error for |
That suggests either that it's not running Node.js 18 (which should support that option) or Fedora's Node.js 18 builds differ from the ones provided from http://nodejs.org. |
Your build script(s) are probably using the wrong node binary. It appears your /usr/bin/node is the v16.x binary, but your v18.x binary seems to be at "./webapp/node/node". |
@richardlau your comment prompted me to check for sources of different versions.
Sorry for this wild goose chase. |
waiting for #42972 to arrive. |
Hey folks, just FYI. @mscdex put me on the right track, thank you! I just had to uncomment a few lines in The section in question in the |
@mysticaltech yes can confirm this works for me too (after a platform reboot). |
Version
v18.1.0
Platform
Linux xxxxxxxxx 5.18.9-200.fc36.x86_64 #1 SMP PREEMPT_DYNAMIC Sat Jul 2 15:56:43 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Subsystem
crypto digital envelope routines
What steps will reproduce the bug?
Using a VM that is running Fedora36.
Then building a Java project called Horreum. Sorry this a lazy answer for the time being.I will endeavour to create a simple reproducer.$ sudo dnf install -y yarnpkg.noarch
$ sudo dnf update -y maven.noarch node npm openssl
$ git clone https://github.com/phillip-kruger/members
$ cd members; mvn package -DskipTests
How often does it reproduce? Is there a required condition?
Every time.
What is the expected behavior?
Whereas on Fedora35 the build process of the Horreum project completes. Fedora35 uses these versions of node, npm and openssl. This combination works as expected......
What do you see instead?
On Fedora36 I see this error during the build
Additional information
The text was updated successfully, but these errors were encountered: