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
11
votes
1 answer

Certbot MisconfigurationError: nginx restart failed

On a setup with Ubuntu 16.04, Certbot 0.28.0, and nginx 1.10.3, I can't use Certbot to renew an existing certificate. When I run sudo certbot renew, it fails and I get these errors: Hook command "nginx -s stop" returned error code 1 Error output…
Josh
  • 2,790
  • 26
  • 30
11
votes
4 answers

Let's Encrypt certbot-auto fails because a Python / pip problem

Yesterday all was fine, but today, running the same command using certbot-auto to renew a certificate, I get this : Upgrading certbot-auto 0.31.0 to 0.32.0... Replacing certbot-auto... Creating virtual environment... Installing Python packages... …
Vallica
  • 161
  • 1
  • 1
  • 9
11
votes
3 answers

How can I use "let's encrypt" without stopping nginx?

I am adding https support to our servers. How can I not stop Nginx when adding Let's Encrypt support?
Check King
  • 111
  • 1
  • 4
11
votes
7 answers

Certbot not found

i installed letsencrypt on my ubuntu 16.04 machine with following command. sudo apt-get install letsencrypt Now, i want to define a cronjob to automatically renew my certs with following line. certbot renew --pre-hook "service nginx stop"…
Stillmatic1985
  • 1,792
  • 6
  • 20
  • 39
10
votes
2 answers

Certbot unable to locate environment variable credentials

I have an Ubuntu 20.04 server on an AWS EC2 instance running Apache and I'm trying to obtain a certificate using certbot, however I'm having trouble with credentials. Below is the command I run, followed by the error output: user@address:~$ sudo…
Tom
  • 335
  • 2
  • 14
8
votes
2 answers

How to do auto-renewal of TLS certificates with certbot?

I have an application with Nginx docker container for which the TLS certs are generated manually using the following command in the host (with Ubuntu OS) where application is deployed: certbot certonly --manual --manual-public-ip-logging-ok…
AnjK
  • 2,887
  • 7
  • 37
  • 64
8
votes
1 answer

How to redirect www to non-www using certbot for HTTPS & nginx

I'm trying to redirect www to non-www but it doesn't work. I've tried various answers from similar questions but those haven't worked. I have SSL cert using certbot for 3 domains example.com, www.example.com and admin.example.com. This is my…
Grimbox
  • 203
  • 2
  • 7
8
votes
1 answer

Kubernetes certbot standalone not working

I'm trying to generate an SSL certificate with certbot/certbot docker container in kubernetes. I am using Job controller for this purpose which looks as the most suitable option. When I run the standalone option, I get the following error: Failed…
Ishan Khare
  • 1,745
  • 4
  • 28
  • 59
8
votes
2 answers

What should letsencrypt certbot-auto's "webroot-path" be for a non-PHP / non-static-files website?

In the case you have a website using Apache only (maybe with PHP) that is in: /home/www/mywebsite/ /home/www/mywebsite/index.php /home/www/mywebsite/style.css then, it's easy to set certbot's --webroot-path: ./certbot-auto certonly --webroot…
Basj
  • 41,386
  • 99
  • 383
  • 673
8
votes
3 answers

certbot renew / certonly dash error : 'ascii' codec can't decode byte

I'm getting a weird error on lets-encrypt certbot that seems linked to the presence of a dash in my second domain name (on the real one position 8 correspond to the position of said dash). The error occurs regardless of wether I try to renew or…
Mathieu K.
  • 903
  • 8
  • 27
8
votes
1 answer

Create a Docker Apache image with LetsEncrypt

I have a trouble with Docker and LetsEncrypt. As far as I can understand, Certbot (the bot to install LetsEncrypt on Apache or any HTTP Server) checks if the user owns the domain associated to the certificate. So in the Dockerfile, I add the…
hadf
  • 279
  • 2
  • 5
  • 15
8
votes
2 answers

How to uninstall/remove Certbot Let's Encrypt from Debian 8

I just followed the instuctions found on : https://certbot.eff.org/#debianjessie-apache to install let's encrypt certificate on my linux vps. but unfortunately, installation did not went as I expected because : A. I already had an instance of…
Rami Mohamed
  • 2,505
  • 3
  • 25
  • 33
8
votes
1 answer

To use Certbot, packages from the EPEL repository need to be installed

I use certbot-auto for deploying Let's Encrypt SSL certificates, and I renew certificate with crontab -e like this: * 01 * * 1 /home/myname/certbot-auto --quiet It has an error message like the below: Bootstrapping dependencies for RedHat-based…
Ma YongChhin
  • 427
  • 3
  • 10
  • 24
7
votes
2 answers

Can I use Nginx Certbot to put ssl in an aws default ec2 domain?

I tried to put the command to get the certificate but it gave me this error: An unexpected error occurred: The server will not issue certificates for the identifier :: Error creating new order :: Cannot issue for…
Jose-xd
  • 99
  • 1
  • 6
7
votes
5 answers

"Timeout during connect (likely firewall problem)" while renewing Certbot

I am facing the following error when I try to renew my ssl certificate using certbot renew Challenge failed for domain ***********.com Some challenges have failed. The following errors were reported by the server: Domain:…
umunBeing
  • 514
  • 1
  • 5
  • 15
1 2
3
52 53