Sudo apt-get install letsencrypt on Ubuntu Server DO 16.04 LTS

I get the response:

E: Unable to locate package letsencrypt

I’ve used the git-clone mechanism for previous usages, but since LE has been added to apt ppa, I wanted to try it.

Please, what PPA do I need to add (the official one) to proceed installation?

thanks

what version of ubuntu are you using ?

Ubuntu 16.04 LTS Server

With the standard ubuntu repositories it should be

sudo apt-get install python-letsencrypt-apache

(assuming you are using apache )

I’m not using Apache. I’m on Nginx

By the way, I’m using this documentation: https://certbot.eff.org/#ubuntuxenial-nginx
So maybe I’m missing something?

Any chance the universe repository is not enabled? You should be able to do so with:

sudo add-apt-repository universe

It’s enabled by default, but I guess it’s possible that your base image has changed that or something similar.

1 Like

Heads up regarding the nginx instructions for Xenial - they’re not quite accurate at the moment:

letsencrypt certonly alone won’t do. You’ll need something like letsencrypt certonly --webroot -w /var/www/html -d example.com.

Sorry guys, there seems to be a mismatch what Ubuntu version I’m running. DO control panel tells me 16.04 and uname -rsv tells me 14.04.

On that note, forgive me. I’ll stick to https://certbot.eff.org/#ubuntutrusty-nginx until I’m no longer toyed with by DO

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