Last active
September 3, 2024 09:16
-
-
Save tienthanh2509/50094f55439e19af3a09911aa5c48852 to your computer and use it in GitHub Desktop.
Install OpenVPN 2.4.x on Ubuntu 16.04 Xenial
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -s https://swupdate.openvpn.net/repos/repo-public.gpg | apt-key add - | |
echo "deb http://build.openvpn.net/debian/openvpn/stable xenial main" > /etc/apt/sources.list.d/openvpn-aptrepo.list | |
apt update | |
apt install -y openvpn |
Hi, the key has expired yesterday, how do we get around that ? I guess we need to wait for openvpn to regenerate or extend the certificate. Do you know an alternate repo ?
Just delete the old key and install it add it again.
apt-key del E158C569
wget -O - https://swupdate.openvpn.net/repos/repo-public.gpg|apt-key add -
Just delete the old key and install it add it again.
apt-key del E158C569 wget -O - https://swupdate.openvpn.net/repos/repo-public.gpg|apt-key add -
i did do that before asking but i haven't tried it since, i just installed the new .deb i wanted with dpkg, i'll see if they extended the expiration date.
Thank you!
It basically works - thank you. I had to use sudo for all these commands.
Also for some reason the echo command didn't work so I did a touch
for the file /etc/apt/sources.list.d/openvpn-aptrepo.list
and then sudo gedit
to add the line.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
thanks, works perfectly in ubuntu 16.04