Questions tagged [certbot]

Certbot is the official client used to issue Let's Encrypt SSL certificates. This tag is for the certbot client itself. For questions regarding SSL in general, use the [ssl] tag.

Use the tag for all Certbot related questions. Questions should be about the certbot CLI itself, and not questions related to installing certificates generated by certbot. Certbot documentation can be found here.

795 questions
18
votes
2 answers

DNS resolution in docker containers

[environment] CentOS 7 Docker 19.03.12, build 48a66213fe I have a failing cerbot (let's encrypt client) inside a docker container. It looks like acme-v02.api.letsencrypt.orgis not resolvable from the container but is resolvable from the host (the…
zar3bski
  • 2,773
  • 7
  • 25
  • 58
17
votes
2 answers

E: Package 'python-certbot-nginx' has no installation candidate

When I try to install Certbot for Nginx and run sudo apt-get install python-certbot-nginx I get E: Package 'python-certbot-nginx' has no installation candidate How to install Certbot for Nginx?
Jozott
  • 2,367
  • 2
  • 14
  • 28
16
votes
4 answers

How to setup Letsencrypt for Google Cloud Compute Engine load balancer?

I've setup my Google Cloud Project to use a load balancer in combination with auto scaling instance templates. Currently the instance group only has one instance. My domain name successfully refers to the load balancers IP. Till these steps…
16
votes
0 answers

Clear a pending authorization for certificate (ACME) after rateLimit error

I'm using Let's Encrypt for my site, and I had an error in my cron job that resulted in an error when I attempted to manually renew ($ sudo letsencrypt renew): Error: urn:acme:error:rateLimited :: There were too many requests of a given type…
43Tesseracts
  • 4,617
  • 8
  • 48
  • 94
15
votes
2 answers

How correctly install ssl certificate using certbot in docker?

I am trying to deploy Node.js/Express application with Docker, using Let's Encrypt SSL certificates for HTTPS. When I run docker-compose up command all 3 services started but I notice such warning: Saving debug log to…
Nurzhan Nogerbek
  • 4,806
  • 16
  • 87
  • 193
15
votes
4 answers

NGINX + Let's encrypt: Could not automatically find a matching server block

I'm publishing a website made with Python Pyramid on an Ubuntu 18.04 server. The website is running properly on HTTP and now I'm trying to make it run on HTTPS by following this article but when trying to install I get this message: IMPORTANT…
André Luiz
  • 6,642
  • 9
  • 55
  • 105
15
votes
2 answers

Let's Encrypt: How to manually test the certbot renewal process?

I have a working setup where Let's Encrypt certificates are generated with certbot. I wonder how you effectively test whether the renewal will work in production. The certificates last for 90 days. Is there a way to reduce the lifespan to, for…
Philipp Claßen
  • 41,306
  • 31
  • 146
  • 239
14
votes
3 answers

Unable to find a virtual host listening on port 80.... Please add a virtual host for port 80

My web server is set up like this: AWS EC2 Linux AMI Apache 2.4 PHP 7 MySQL Certbot is giving me an error like this when I try to run it: Unable to find a virtual host listening on port 80 which is currently needed for Certbot to prove to the CA…
Adam Winter
  • 1,680
  • 1
  • 12
  • 26
14
votes
4 answers

certbot cannot verify domain and connection refused

I am trying to generate certificate for my domain. I can ping my domain but still getting error. I have added inbound firewall rule to my digital ocean server to accept port 80 on ipv4 and ipv6 as well. Not sure what is wrong. [Note: my nginx server…
ksernow
  • 662
  • 3
  • 14
  • 33
12
votes
4 answers

Certbot failing acme-challenge (connection refused)

I'm trying to set up a Django project with docker + nginx following the tutorial Nginx and Let's Encrypt with Docker in Less Than 5 Minutes. The issue is when I run the script init-letsencrypt.sh I end up with failed challenges. Here is the content…
Johnny Beltran
  • 701
  • 2
  • 8
  • 22
12
votes
1 answer

Shell script to make site https using certbot and nginx

I know how to install ssl certificate using command-line. But i need a shell script this time to do this task. Generally while doing this manually i first execute the fowllowing:- sudo apt-get install certbot python-certbot-nginx By executing the…
Amandeep Singh
  • 1,371
  • 1
  • 11
  • 33
12
votes
6 answers

Certbot-auto renew failed - The client lacks sufficient authorization - Why?

So it's been years i put a certbot-auto certificate for multiple domains on the same server (Apache 2.2 - Debian 7). But today I saw my crontab didn't renew the certificate so I tried to do it in SSH with the followin line : ./certbot-auto…
Alain.D
  • 308
  • 1
  • 2
  • 11
12
votes
1 answer

Certbot-auto --manual plugin not working

I already generated certificates using certbot-auto with --manual plugin. Now the certbot version upgraded from 0.25.1 to 0.26.1, now i’m not able to use the --manual option as it says deprecated in the certbot 0.26.1. This is the command i used to…
Karan
  • 445
  • 5
  • 15
12
votes
5 answers

What is the proper way to script a new nginx instance with SSL on a new Ubuntu 16.04 server?

I have this so far but I'm missing a couple of things like getting the cron job scripted. Don't want to do this as root. So I'm assuming some more could be done to set up the first user at the same time. The script would need to be idempotent (can…
Adam Dymitruk
  • 124,556
  • 26
  • 146
  • 141
11
votes
1 answer

Certbot - Update your client software to continue using Let's Encrypt - Update ACME v1 to v2 in Ubuntu 14.04

I've receive an email from noreply@letsencrypt.org with the subject "Update your client software to continue using Let's Encrypt" I'm using Ubuntu 14.04.05 LTS in the servers where I host my https sites, Certbot is 0.22.2+1+ubuntu That's the latest…
reverendocabron
  • 189
  • 1
  • 10
1
2
3
52 53