Questions tagged [certbot]
328 questions
158
votes
12 answers
Best practices for setting a cron job for Let's Encrypt (Certbot) renewal?
Is this correct way to set cron for renewal of Let's Encrypt cert in Apache2 ?
I use Ubuntu 16.04.
@monthly letsencrypt renew && service apache2 reload

user3448600
- 1,579
- 2
- 13
- 12
34
votes
3 answers
How to totally remove a certbot-created SSL certificate?
I use Ubuntu 16.04 with Nginx and I've installed Nginx Certbot on my operating system (Ubuntu 16.04) with:
apt-get update -y
add-apt-repository ppa:certbot/certbot -y
apt-get update -y
apt-get upgrade python-certbot-nginx -y
I setted Nginx…

Arcticooling
- 1
- 3
- 7
- 22
26
votes
4 answers
Certbot letsencrypt on different port than 443
I want to set up certbot for a webserver on a different port than 443.
I got the following error when running
certbot --apache -d ..
Failed authorization procedure. sub.domain.ext (tls-sni-01): urn:acme:error:connection :: The…

CaptainJack
- 363
- 1
- 3
- 5
19
votes
5 answers
How to install Certbot on Amazon Linux EC2
I have an Amazon EC2 box. I have installed Apache, MariaDb and PHP on it.
Among other things, I want to host a couple of WordPress websites on the EC2.
How do I go about installing Certbot on Amazon Linux so that I may issue SSL certificates for the…

J86
- 401
- 3
- 8
- 15
16
votes
1 answer
Renew domains using certbot and using DNS challenge
I created several SSL certificates for several domains using the standalone method. I am only interested in the certificates, without server integration.
They are now for renewal.
So, I ran:
certbot -d example.com --manual --preferred-challenges dns…

Merc
- 789
- 1
- 6
- 16
13
votes
1 answer
Why does my Let's Encrypt certificate contain references to Cloudflare?
I own a website that uses a Let's Encrypt certificate. It's not behind Cloudflare, it's hosted at OVH and I'm accepting direct traffic from it.
Now, I set up an apache2 webserver and used certbot to automatically generate a certificate. The problem…

lolc
- 143
- 1
- 7
10
votes
10 answers
certbot for letsencrypt missing pyopenssl module
I need help setting up the CertBot for LetsEncrypt
I am running on CentOS 7 with Python 2.7
When I run certbot I get the following error:
[root@li86-193 frappe-bench]#certbot certonly --manual
Traceback (most recent call last):
File…

cs378
- 123
- 1
- 1
- 7
7
votes
2 answers
nginx "ERR_TOO_MANY_REDIRECTS" after add ssl
After i add Let's Encrypt certificate to my website with CertBot
i get ERR_TOO_MANY_REDIRECTS when i try to visit the domain of my website.
some info :
-mywebsite build with django, nginx and gunicorn.
server {
server_name www.example.com…

DAMAR225
- 173
- 1
- 1
- 5
7
votes
1 answer
nginx https www redirect to non-www using let's encrypt certbot
Hi this must be a basic question but I haven't seen an answer with cerbot considerations (if there are any considerations). How do I get https www to redirect to non-www instead of timing out?
The https www version of my site times out instead of…

duncangarde
- 73
- 1
- 4
7
votes
5 answers
Failing to install certbot on debian jessie
I've followed the instructions at https://certbot.eff.org/all-instructions/#debian-8-jessie-nginx but cannot install certbot:
sudo apt-get -t jessie-backports install certbot
Reading package lists... Done E: The value 'jessie-backports' is invalid…

Sue Mynott
- 191
- 1
- 7
7
votes
1 answer
Explain Certbot's HTTPS redirect configuration
Can someone explain why Certbot is using the following redirect configuration
server {
if ($host = example.com) {
return 301 https://$host$request_uri;
} # managed by Certbot
server_name example.com;
listen 80;
return…

Daniel
- 6,940
- 6
- 33
- 64
7
votes
2 answers
Certbot fails with AttributeError: 'module' object has no attribute 'Locale'
I setup a new server a couple of months ago, running Ubuntu 18.04 LTS. I successfully installed certbot and created my certificates using the cloudflare DNS plugin.
It's now getting to be time for renewal, but when I run certbot renew (or various…

Ben Holness
- 944
- 2
- 10
- 28
7
votes
1 answer
Letsencrypt for all subdomains *.example.com
I'd like to obtain one certificate working for all my subdomains *.example.com.
This works:
certbot-auto certonly --webroot --webroot-path /home/www/example/ --domain example.com
--domain www.example.com --email…

Basj
- 709
- 3
- 11
- 29
6
votes
2 answers
How to query DNS for special **NAMED** TXT records
I am using certbot to generate a ssl certificate for a third party web app. Because I cannot get into the source code or folder structure, I am using DNS validation. To further complicate things, my DNS provider does not make it clear when the…

wruckie
- 678
- 6
- 22
6
votes
4 answers
How to migrate letsencrypt renewal from apache2 to nginx
I inherited a very new magento configuration from a previous employee (who left for another job) where I currently work. The original Magento was set up with v2.1.8 but I have had to update/upgrade the installation a number of times as the…

Scott
- 163
- 1
- 6