Issues with ripemd160 on Ubuntu 22

9 replies 113 views
Posts: 15 · Reputation: 29
#1Jul 17, 2026, 04:10 PM
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...
8 Reply Quote Share
matrix2021Full Member
Posts: 92 · Reputation: 612
#2Jul 18, 2026, 07:39 PM
What OpenSSL version?
4 Reply Quote Share
Posts: 15 · Reputation: 29
#3Jul 18, 2026, 11:33 PM
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..
6 Reply Quote Share
matrix2021Full Member
Posts: 92 · Reputation: 612
#4Jul 19, 2026, 05:13 AM
Where did you put the openssl.cnf file?
4 Reply Quote Share
Posts: 15 · Reputation: 29
#5Jul 19, 2026, 07:35 AM
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?
3 Reply Quote Share
matrix2021Full Member
Posts: 92 · Reputation: 612
#6Jul 19, 2026, 12:58 PM
What is the result of
6 Reply Quote Share
Posts: 15 · Reputation: 29
#7Jul 19, 2026, 04:55 PM
I got this: OPENSSLDIR: "/usr/lib/ssl"
6 Reply Quote Share
0xNodeMember
Posts: 671 · Reputation: 80
#8Jul 22, 2026, 04:45 AM
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.
2 Reply Quote Share
Posts: 15 · Reputation: 29
#9Jul 22, 2026, 06:26 AM
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
2 Reply Quote Share
0xNodeMember
Posts: 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.
6 Reply Quote Share

Related topics