DPosts: 15 · Reputation: 29
Has anyone else faced issues with ripemd160 on Ubuntu 22? I've tried all the fixes I could find online but nothing seems to work. Fun fact, it runs fine on Ubuntu 18...
DPosts: 15 · Reputation: 29
hey achow101...
OpenSSL 3.0.2 15 Mar 2022 (Library: OpenSSL 3.0.2 15 Mar 2022)
I edited manually the openssl.cnf as in the tutorial:
Make sure that the config file contains following lines:
openssl_conf = openssl_init
[openssl_init]
providers = provider_sect
[provider_sect]
default = default_sect
legacy = legacy_sect
[default_sect]
activate = 1
[legacy_sect]
activate = 1
But still not working..
MPosts: 92 · Reputation: 612
Where did you put the openssl.cnf file?
DPosts: 15 · Reputation: 29
According to that guide I read I edited this one:
/usr/lib/ssl/openssl.cnf
but I notice there are others:
/etc/ssl/openssl.cnf
/snap/core20/1587/etc/ssl/openssl.cnf
/snap/core20/1587/usr/lib/ssl/openssl.cnf
/snap/core20/2318/etc/ssl/openssl.cnf
/snap/core20/2318/usr/lib/ssl/openssl.cnf
/usr/lib/shim/mok/openssl.cnf
/usr/lib/ssl/openssl.cnf
/usr/share/doc/nodejs/openssl.cnf.gz
/usr/share/doc/openvpn/examples/sample-keys/openssl.cnf
I am not ot sure which one should be?
DPosts: 15 · Reputation: 29
I got this:
OPENSSLDIR: "/usr/lib/ssl"
0Posts: 671 · Reputation: 80
Does openssl list -providers mention "OpenSSL Legacy Provider" somewhere?
If not, then it appears that your configuration is not taking effect.
Also you may have to restart system services or reboot the computer to apply the new openssl settings to each program.
DPosts: 15 · Reputation: 29
yes it does have legacy..but still not working. This is very annoying, since I got Ubuntu18 and it does works well there...
mahuro@WorkStation:~/Desktop$ openssl list -providers
Providers:
default
name: OpenSSL Default Provider
version: 3.0.2
status: active
legacy
name: OpenSSL Legacy Provider
version: 3.0.2
status: active
0Posts: 671 · Reputation: 80
#10Jul 22, 2026, 09:11 AM Which programs are you trying to use that require the legacy provider? It is possible that they might be linked to a different version of OpenSSL.
You can check on Linux which libraries a program is linked to by running ldd $(which <program>).
For example, if you are trying to check the libraries that Python uses:
Should print something like this:
See if they are using custom versions of OpenSSL. You should see a library called libssl or something like that. A custom installation of OpenSSL will have its own configuration files.