Installing LetsEncrypt certbot from GitHub

Sometimes there the delay between a new certbot release from LetsEncrypt and the time it hits the Ubuntu LaunchPad PPA.  However there is not much involved in setting up Ubuntu to use certbot directly from the GitHub source.  I tested the following out on Ubuntu 14.04 LTS and 16.04 LTS and it worked without a hitch:

sudo apt-get remove certbot
sudo add-apt-repository --remove ppa:certbot/certbot
cd /opt
sudo git clone https://github.com/certbot/certbot.git
cd certbot
sudo git checkout v0.21.1
sudo ln -s /opt/certbot/certbot-auto /usr/bin/certbot
certbot renew
sudo apt-get autoremove

To update simply go to the repo and `git checkout` the latest version.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s

Advertisements
%d bloggers like this: