Skip to main content
The 2024 Developer Survey results are live! See the results

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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
155 views

Apache2 not working after upgrade to 24.04

I upgraded to Ubuntu 24.04 last week. My linux box is used primarily as a email server and a webserver. There is only one domain remaining. I deleted a second domain that was no longer needed. I didn'...
M W's user avatar
  • 19
0 votes
0 answers
60 views

Can't setup Nginx reverse proxy for Nextcloud and Portainer with Letsencrypt support

I have several services installed on my Digital Ocean VPS server (Ubuntu 24.04 LTS): Wireguard "baremetal" installation (via apt get). Nextcloud SNAP installation. Docker and docker compose ...
Cascade's user avatar
0 votes
0 answers
78 views

Certbot not creating .wellknown/acme-challenge file

I'm trying to setup Let's Encrypt certbot on a docker container hosted on nginx. Since nginx is just a proxy-pass to a docker container, I'm forwarding requests to .well-known to the disk location ...
Etienne Charland's user avatar
0 votes
1 answer
87 views

Configure Apace for HTTP and HTTPS with redirect secured by lets encrypt

While I have used Linux in the past I am not very knowledgeable with it. I have installed Apace on Ubuntu Server. I created a virtual host with Apace. All of this went ok. I am able to pull up the ...
amd.64's user avatar
  • 38
1 vote
0 answers
1k views

Error with snapd. "system does not fully support snapd": cannot mount squashfs image using "squashfs"

I was trying to install snap (or snapd). I used the command: sudo apt install snapd It seemed to install successfully, but when I went to install the hello-world package from snap I got this error ...
WingManUp's user avatar
0 votes
1 answer
69 views

PortSIP on port 80 with Letsencrypt

I have PortSIP v.16 running on an Ubuntu 20.04 machine on Azure. It's running and I can get public access to it on https://x.x.x.x:8887 as specified in the manual. The next step is to get a secure ...
Pætur Magnussen's user avatar
3 votes
1 answer
5k views

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 here: /etc/letsencrypt/live/test.ddns.net/...
George Wright's user avatar
0 votes
1 answer
376 views

how to configure Varnish, Nginx Virtual Host & Letsencrypt SSL together

I need some help in configuration of Varnish Cache, Nginx, & SSL on virtual hosts. I am able to configure the Varnish & Nginx on the server IP (Default virtual host). When I access site at ...
Sanjay Goswami's user avatar
4 votes
1 answer
2k views

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 ...
Kaziu's user avatar
  • 43
1 vote
1 answer
1k views

Fatal: Error in configuration file (dovecot)

I am getting an error that I don't understand well. It says it is missing one opening bracket on line 33. Unfortunately I have tried at the beginning of the line and at the end of the line. Finally ...
Dorian Rosse's user avatar
0 votes
0 answers
420 views

Installing LetsEncrypt on localhost via Synology DNS server

For developing websites I have setup a few virtual Ubuntu machines. Every machine has its own local IP address with incremental last number (192.168.2.10, 192.168.2.11 etc.) To access the webserver, I ...
BLB's user avatar
  • 1
2 votes
0 answers
635 views

Let's Encrypt certificates refused by GnuTLS

On one machine with an up-to-date Ubuntu 20.04, certificates issued by Let's Encrypt are rejected by GnuTLS and only GnuTLS. They fail with applications that are linked with GnuTLS, such as Git and ...
Gilles 'SO- stop being evil''s user avatar
2 votes
0 answers
806 views

Mysql 8.0 with Letsencrypt SSL on Ubuntu 20.4

I installed a Letsencrypt SSL certificate on my Ubuntu 20.4 VPN server and it works. Now, I am trying to configure mysql on this server for SSL. I read many relating posts that deal with the same ...
maraxai's user avatar
  • 31
2 votes
0 answers
3k views

Cannot verify Lets encrypt certificate Ubuntu 20.04 LTS

I'm running Ubuntu 20.04.3 LTS \n \l which is updated as of today. However, any time I try and wget something, this error pops up: # wget --verbose wops.cc URL transformed to HTTPS due to an HSTS ...
John's user avatar
  • 41
1 vote
0 answers
557 views

I'm installing cerybot however only getting 0.40.0 when it is up to 1.XX how to rectify

Ubuntu 20.04.3 LTS I'm pretty new to ubuntu and I see that certbot is installed by default however it is an OLD version. I've tried apt update etc etc but I'm still left with 0.40.0. Was wondering how ...
BostonMacOSX's user avatar
1 vote
0 answers
481 views

AppArmor/Certbot error: cannot change profile for the next exec call: No such file or directory

Ubuntu 20.04.3. This is a server that I upgraded last winter from 16.04 to 20.04. I use Webmin/Virtualmin to do day-to-day management. As a renewal for a LetsEncrypt cert came to be due last week, I ...
Rob Brandt's user avatar
0 votes
1 answer
2k views

Is certbot a good way to get https:// certificates?

I am setting up a cloud server using Ubuntu 20.04 Server. I will never have many visitors, just my students doing homework. I want to enable https:// access. I found this page. Is certbot a good way ...
Pedroski's user avatar
  • 415
0 votes
2 answers
542 views

Why does openssl -trusted_first option behave differently from X509_V_FLAG_TRUSTED_FIRST environment variable?

I've a perl script that runs openssl to locally check certificates' validity. I don't want to just set an env var and walk away. This feels more like something is funny with my openssl installation ...
Craig Constantine's user avatar
1 vote
1 answer
3k views

OpenConnect certificate failed verification, it says its expired, but it is NOT!

When I try to connect to my OCServ using OpenConnect client in ubuntu it throws an error: Connected to x.x.x.x:yyy SSL negotiation with server.domain.tld Server certificate verify failed: certificate ...
Alimo's user avatar
  • 13
0 votes
0 answers
525 views

Failed to start The Apache HTTP Server. 20.0

When I try to start my Apache server, I get this message: Job for apache2.service failed because the control process exited with error code. See "systemctl status apache2.service" and "...
Lennard K's user avatar
13 votes
1 answer
17k views

How to install latest ca-certificates on Ubuntu 14 [closed]

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-...
user1389892's user avatar
1 vote
0 answers
400 views

Renew Let's encrypt certificate automatically without stopping nginx hosted on docker

I am using nginx as proxy and SSL termination for the site hosted on docker. App & nginx both are on docker. I have installed Let's encrypt SSL using Certbot directly on Ubuntu server. And now ...
Krunal's user avatar
  • 111
2 votes
2 answers
8k views

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 ...
Jette's user avatar
  • 399
0 votes
0 answers
270 views

Installed certbot and started to receive port 80 error

I'm running node.js server on ubuntu20.04 (without nginX) I'm attempting to use SSL for the first time. I installed certbot with 'certbot certonly --standalone' My node server was set to ports 9080 (...
Orange Juice Jones's user avatar
2 votes
1 answer
1k views

Permission-related installation error for Lets's Encrypt certbot snap

I want to implement SSL on my Ubuntu 18.04 server which is using Nginx. I am following this link to implement it using Let's Encrypt: https://certbot.eff.org/ But after executing sudo snap install --...
Choudary Usama Abbas's user avatar
0 votes
1 answer
367 views

Trying to Start Apache 2 in my VM at private cloud within Intranet

We have a private cloud setup which is not exposed to Internet. While starting Apache2 we are getting the below error: Failed authorization procedure. x.y.z.com (http-01): urn:ietf:params:acme:error:...
kiran mundiyath's user avatar
0 votes
1 answer
493 views

Files app Webdav cliente on Ubuntu 16.04, 18.04 and 20.04 does not recognize Letsencrypt Certificate

I tried to find any references for this question, but I could not find anything close to the issue. I have a WebDAV server using a Letsencrypt certificate. When I access it through any browser (Chrome,...
Andre Metelo's user avatar
0 votes
1 answer
3k views

certbot: error: unrecognized arguments: --deploy-hook

Installed certbot service via commands below; $ sudo add-apt-repository ppa:certbot/certbot $ sudo apt-get update $ sudo apt-get install certbot Then run the command below to generate tls ...
TyForHelpDude's user avatar
0 votes
1 answer
2k views

Certbot installation failed in Amazon Ubuntu 18.04

I have Amazon AWS running Ubuntu 18.04, I need to install Lets encrypt, so I tried following commands, when I install python3-certbot-apache it gives error of unmet dependencies. Can you please help ...
kram's user avatar
  • 1
3 votes
1 answer
939 views

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 ...
current_user's user avatar
0 votes
1 answer
5k views

https of subdomain redirects to main domain - certbot on nginx

I am running nginx and would like to ask you help in explaining how to set up a correct configuration. Im not expert of server maintenance and would like to avoid to misconfigure the running sites. ...
user305883's user avatar
0 votes
2 answers
4k views

Error: Could not find pg_ctl executable for version 11 (PostgreSQL 11) + let's encrypt

I have a VPS hosting with a domain redirecting to it. I have LAMP stack for my main website using WordPress CMS. Plus I am using Odoo as my back-end with python and PostgreSQL in a sub-domain. ...
Amr Abd-Alkrim's user avatar
2 votes
0 answers
2k views

Renewing certificate on server with Let's Encrypt when first issued with docker

I am running a dockerized django on an EC2 instance. I configured nginx in a docker container and got a certificate also in a docker container. (I followed this guide: https://www.humankode.com/ssl/...
Micromegas's user avatar
0 votes
1 answer
397 views

How to resolve error to get SSL certificate using Letsencrypt certbot?

Using certbot from Let'sEncrypt, I couldn't manage to create secure access for tleis.nl, but if I copy the site into chess.tleis.nl, then secure access is done without problems. But I still cannot get ...
mtleis's user avatar
  • 101
0 votes
0 answers
381 views

How to get Letsencrypt ssl certificate for local iis web server using local DNS server Bind9

I need help regarding for my iis web server in windows 10 Pro. I am using local DNS server bind9 to resolve the domain name and it works very well. But the problem is i am not able to generate ssl ...
Amarnath Jena's user avatar
0 votes
0 answers
3k views

Problem binding to port 80: Could not bind to IPv4 or IPv6

I have 2 projects running on different ports - 80 and 8005 on the same server. These ports point to example1.com and example2.com respectively. I installed SSL certificate for example1.com using https:...
radioactive's user avatar
2 votes
0 answers
1k views

certbot is reading the wrong DNS TXT record

I've been trying to get Certbot to renew my wildcard certificate. I ran into a couple of wrong DNS settings at first, but after I corrected these errors, no matter what I do, Certbot seems to be ...
John Doe's user avatar
  • 231
1 vote
1 answer
2k views

How can I redirect back from https to http URL's after I removed a SSL certificate of let's encrypt in apache2 & nginx

I configured a certificate of let's encrypt using certbot-auto and the https worked but when I was trying to remove the certificate of my domain using certbot-auto delete... my wordpress and ...
Shahar Alaluf's user avatar
1 vote
1 answer
11k views

Node throwing "unable to verify the first certificate" error when fetching from api

I've been running an api for myself through an nginx proxy, I haven't had any issues with it until today, when I reissued its certificate. The certificate is from Let's Encrypt, I've made the file I ...
Donovan_DMC's user avatar
19 votes
4 answers
158k views

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-...
T.Todua's user avatar
  • 551
3 votes
1 answer
1k views

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 ...
ckapilla's user avatar
  • 133
2 votes
0 answers
559 views

letsencrypt with nginx - renew failed

since one month i receive an error from letsencrypt renewal cronjob. Operating System: Ubuntu 16.04.6 Xenial letsencrypt version: certbot 0.23.0 Cronjob command: @daily letsencrypt renew >&...
devKyrios's user avatar
0 votes
2 answers
2k views

certbot (Lets encrypt) install to Nginx compiled from source

Im compile Nginx from source with 3rd party modules. Remove old Nginx and make install new compiled. All fine, but when you remove old Nginx, certbot script automaticaly will be removed. After Nginx ...
Aleksey's user avatar
  • 11
1 vote
2 answers
3k views

Ubuntu .htaccess not working

I config ubuntu server with these command. sudo a2enmod rewrite sudo a2ensite 000-default.conf I edit 000-default.conf like this. <Directory /var/www/html> Options FollowSymLinks ...
user58519's user avatar
  • 111
5 votes
1 answer
3k views

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 ...
Lippai Zoltan's user avatar
2 votes
2 answers
2k views

certbot version updgrade not implemented

I want to update certbot to cope with following topic: How to stop using TLS-SNI-01 with Certbot Before updgrade: certbot --version returns: certbot 0.26.1 As instructed in How to stop using TLS-...
nyluje's user avatar
  • 329
0 votes
1 answer
887 views

CertBot Installation: Could not connect to ppa.launchpad.net:80 (91.189.95.83)

I'm trying to install CertBot to issue a let's encrypt certificate for a domain but on my Ubuntu Server 16.04 I get errors when I run sudo apt install python-certbot-apache I get the following ...
Giox's user avatar
  • 263
3 votes
0 answers
918 views

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 >> /...
user822988's user avatar
0 votes
1 answer
3k views

Where should I put the Apache headers?

I have an 18.04 Ubuntu server with a Drupal 8 site that is certified by Let's Encrypt. # sudo certbot --apache -d mydomaine.com -d www.mydomaine.com --rsa-key-size 4096 # sudo nano /etc/apache2/...
mathieulbt's user avatar
1 vote
1 answer
482 views

Setting up LetsEncrypt renewal on Ubuntu

I've got a LetsEncrypt Certificate working on Ubuntu Server in a LXD setup with a jumpbox. The renewal isn't working, the verification files are not accessible Attempting to renew cert (example.com)...
beek's user avatar
  • 201