Questions tagged [letsencrypt]

Let’s Encrypt is a free, automated, and open certificate authority (CA), run for the public’s benefit. Let’s Encrypt is a service provided by the Internet Security Research Group (ISRG). This tag should be used for questions regarding setting up, using and configuring Let's Encrypt on Ubuntu systems.

71 questions
319
votes
5 answers

Avoiding user interaction with tzdata when installing certbot in a docker container

I want to install certbot in a docker environment with an Ubuntu 16.04 image: For example: docker run -it ubuntu:16.04 /bin/bash When I'm inside the container, the most straightforward way to install certbot does not work as it requires user…
21
votes
4 answers

How to completely remove "certbot" from ubuntu?

I've tried sudo apt-get remove python-certbot-apache sudo apt-get purge --auto-remove python-certbot-apache sudo apt-get remove python3-certbot-apache sudo apt-get purge --auto-remove python3-certbot-apache but when I run command certbot it still…
T.Todua
  • 573
15
votes
1 answer

How to install latest ca-certificates on Ubuntu 14

I have an Ubuntu 14.04.5 LTS installation. It just recently became unable to verify modern Let's Encrypt certificates. The current version of ca-certificates is 20160104ubuntu0.14.04.1. apt search ca-certificates tells me that the package is…
user1389892
  • 161
  • 1
  • 1
  • 4
12
votes
2 answers

How to know which version of Certbot is installed?

I use a Ubuntu 16.04 with Nginx and Certbot. I tried to execute, for example: certbot -v certbot -V certbot --version man certbot none gave any relevant output. How could I know the version currently installed in my Ubuntu?
10
votes
3 answers

How do up upgrade LetsEncrypt certbot to version 0.22 which supports wildcard certificates?

To get a wildcard SSL certificate from LetsEncrypt you need to run certbot version 0.22 or later according to https://community.letsencrypt.org/t/acme-v2-production-environment-wildcards/55578 I've installed certbot from apt using sudo apt-get…
5
votes
1 answer

Failed to upgrade certbot on Ubuntu Bionic

I have installed previously Certbot on Ubuntu, but I believe the package wasn't yet available for this distribution yet, so I believe I installed it from a pre-built package (maybe, I'm really not sure). Anyway, right now I have certbot 0.26.1…
4
votes
1 answer

Letsencrypt: Expected but saw

When trying to install new letsencrypt certificates on my raspberry-pi apache 2.4 webserver using sudo certbot --apache I get the following error: Error while running apache2ctl configtest. Action 'configtest' failed. The Apache error log may have…
4
votes
1 answer

Problem with Certbot after Ubuntu upgrade to 22.04

I have a problem with Certbot after upgrading to Ubuntu 22.04. I tried to reinstall Certbot without success. Then I tried to install Certbot with snap, and I have the same problem: certbot --version Traceback (most recent call last): File…
Kaziu
  • 43
3
votes
1 answer

Let's Encrypt, Apache2 - Editing vhosts properly

What is the proper way to edit /etc/apache2/sites-enabled when there is example.com.conf and example.com-le-ssl.conf? Should I edit both the files when changing something? Or only one and then somehow force certbot-auto to fix it?
devondre
  • 145
3
votes
1 answer

Problem Ubuntu putting out characters in both UTF-8 and ISO-8859-1

I use PuTTY to connect to my Xubuntu system. When I set the translation to UTF-8 the fancy output from systemd looks fine but a ncurses application show up oddly. When I set the translation in PuTTY to ISO-8859-1 (Western European) the ncurses…
3
votes
1 answer

Portainer docker container behind Nginx reverse proxy

I have set up an nginx reverse proxy on an Ubuntu 22.04 server and I have successfully obtained ssl certificate from lets encrypt. The two keys are stored…
3
votes
2 answers

How to run hooks with LetsEncrypt certbot after auto renewal?

When installing certbot on Ubuntu (20.04) it will automatically run certbot renew via cron or systemd. If I place hook scripts in /etc/letsencrypt/renewal-hooks/(deploy|post|pre) will certbot also run these, or do I need to add '--deploy-hook' to…
Jette
  • 409
3
votes
1 answer

mydomain.com redirected you too many times. ERR_TOO_MANY_REDIRECTS

I was trying to Secure Nginx with Let's Encrypt on Ubuntu 16.04. mydomain.conf file before obtaining an SSL Certificate server { server_name mydomain.com www.mydomian.com ; # Tell Nginx and Passenger where your app's 'public' directory is …
3
votes
1 answer

LetsEncrypt for SQL Server on Linux

I have found information on how to install LetsEncrypt on Linux for NGINX (which works) how to install LetsEncrypt for SQL Server on Windows (which relies on GUI tools so is of no use), and how to install other certificates for SQL Server on…
ckapilla
  • 133
3
votes
0 answers

Crontab vs Certbot renew

I don't get it. I am not getting the crontab for letsencrypt to work. Every 3 months another try and I need to do it again "by hand". I have the crontab: 45 20 * * * /usr/bin/certbot renew >> /var/log/letsencrypt/renew.log The certbot renew does…
1
2 3 4 5