Unable to Install LetsEncrypt

I am unable to install lets encrypt on my DigitalOcean droplet. Here is what happens when I try to add repository:

sudo add-apt-repository ppa:certbot/certbot
 This is the PPA for packages prepared by Debian Let's Encrypt Team and backported for Ubuntu.

Note: Packages are only provided for currently supported Ubuntu releases.
 More info: https://launchpad.net/~certbot/+archive/ubuntu/certbot
Press [ENTER] to continue or Ctrl-c to cancel adding it.

Get:1 http://mirrors.digitalocean.com/ubuntu focal InRelease [265 kB]
Hit:2 http://mirrors.digitalocean.com/ubuntu focal-updates InRelease
Hit:3 http://mirrors.digitalocean.com/ubuntu focal-backports InRelease
Hit:4 http://security.ubuntu.com/ubuntu focal-security InRelease
Ign:5 http://ppa.launchpad.net/certbot/certbot/ubuntu focal InRelease
Err:6 http://ppa.launchpad.net/certbot/certbot/ubuntu focal Release
  404  Not Found [IP: 91.189.95.83 80]
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/certbot/certbot/ubuntu focal Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

Ubuntu 20.4
Provider DigitalOcean
Server that I am going to use it with is NGINX but this is irrelevant for now.
The VPS is new and just deployed a day ago and updated.

Any help?
Thanks.

1 Like

The PPA is not used for Ubuntu 20.04.

You can either install a slightly dated Certbot from the base repositories (just apt install python3-certbot-nginx), or the latest version from snaps.

3 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.