Score:1

How to upgrade OpenSSL to the latest version in Ubuntu 20.04.5 LTS

at flag

I was wondering if someone could help with the below:

I am trying to install OpenVPN in mu Ubuntu 20.04 laptop but I get the error: openssl version too old. I run openssl version it says is OpenSSL 1.1.1f 31 Mar 2020. I have then downloaded and installed openssl-3.0.8 from https://www.openssl.org/source/ but when I check the version, I still get OpenSSL 1.1.1f 31 Mar 2020.

I believe I will not be able to install OpenVPN until I don't fix this. Why am I not able to use the latest version of OpenSSL I have installed?

Thanks!

Pilot6 avatar
cn flag
How are you trying to install openvpn? Did you run `sudo apt install openvpn`?
Organic Marble avatar
us flag
Don't download openvpn from somewhere else or add a ppa for it. Install the version from the Ubuntu repos. The approach you are trying will only bring you pain.
MSpreij avatar
us flag
Not an answer as such hence the comment.. It's possible your $PATH is set up such that it still finds the older version first. Try `type -a openssl` and see if there are multiple versions. If there are you can disable something or move them or ..
Score:0
cn flag

OpenVPN and ALL dependencies are in the Ubuntu repositories.

You do NOT need to add PPAs or any new sources. You can if you really want to, but then their maintenance and troubleshooting is your responsibility.

Simply sudo apt install openvpn

Bolting newer versions of software onto an older Ubuntu system is a classic new-user mistake. Folks who do that might not fully understand how security in Ubuntu works.

The versions of OpenVPN, OpenSSL, and other dependencies in the Ubuntu 20.04 repositories may look old, but don't be fooled by that appearance. Under the hood, they receive the same security patches as newer versions until 2025. It's safe to use.

Score:0
de flag

OpenSSL is included with OpenVPN, so update your version of OpenVPN to the latest for your version of Ubuntu. I follow the guide here.

sudo -s
curl -fsSL https://swupdate.openvpn.net/repos/repo-public.gpg | gpg --dearmor > /etc/apt/trusted.gpg.d/openvpn-repo-public.gpg
echo "deb [arch=amd64 signed-by=/etc/apt/trusted.gpg.d/openvpn-repo-public.gpg] https://build.openvpn.net/debian/openvpn/2.6 focal main" > /etc/apt/sources.list.d/openvpn-aptrepo.list
apt-get update && apt-get install openvpn
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.