I'm using Ubuntu 22.04 and I'm trying to downgrade and compile OpenSSL 1.1.1q but it don't seem to work. I've followed this guide and changed it to 1.1.1q
How to install openssl 1.0.2 with default openssl (1.1.1) on Ubuntu 16.04?
I use this
wget https://www.openssl.org/source/openssl-1.1.1q.tar.gz
tar -xzvf openssl-1.1.1q.tar.gz
cd openssl-1.1.1q
sudo ./config
sudo make install
sudo ln -sf /usr/local/ssl/bin/openssl `which openssl`
openssl version -v
But when I type
openssl version -v
I recieve
-bash: /usr/bin/openssl: No such file or directory
whereis openssl throws me
openssl: /usr/local/bin/openssl
/usr/local/bin/openssl version -v
– Pilot6 Aug 20 '22 at 08:52hash -r
rehashes thePATH
for bash and should rid you of the first issue (no/usr/bin/openssl
), and possibly the second. If/usr/local/bin/openssl version -v
, as suggested by @Pilot6, really does not work, then recheck whether yourmake install
actually worked. Finally, take heed of the warnings in the instructions you're linking to: downgrading OpenSSL may not be the wisest thing to do. – zwets Aug 20 '22 at 19:28