Hello everyone,

I’ve been trying to set up a Mumble voice chat server on my home network using a Debian server. As part of the setup process, I need to obtain an SSL certificate from Let’s Encrypt for secure HTTPS access to the server. However, I’m encountering an error when running the Certbot client to request the certificate.

Here’s the command I’m running:

sudo certbot certonly -d mydomain.com

But I get the following error message:

Timeout during connect (likely firewall problem)

I’ve checked my firewall rules and confirmed that I’ve opened port 80 as required for the Let’s Encrypt verification process. Here’s the relevant rule in my ufw configuration:

80/tcp ALLOW Anywhere

Despite this, I’m still getting the timeout error. Has anyone else encountered this issue before? What steps should I take to troubleshoot further?

Thanks in advance for any advice!

    • qprimed@lemmy.ml
      link
      fedilink
      English
      arrow-up
      3
      ·
      9 months ago

      if you are able to run a public web server, then certificate issuance via certbot http challenge works pretty well. the web server can serve a really simple static page with little to nothing on it - but of course its another potential vector into your network.

      if your public domain DNS makes use of a supported dns provider or you run your own publically accessible dns server, then dns certbot challenges are great and more flexible than http.

      others may suggest neat work arounds for the http challenge issue, but if you have access to a supported dns service I would look at that option. certbot has helpers for quite a few public services as well as support for self hosted dns servers. I run my own public dns servers, so thats the option I chose and use certbot hooks, cron and bash scripts to rsync the updated carts to the propr hosts for the various services I run privately and publicly.

    • valkyre09@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      9 months ago

      I use letsencrypt a lot, if firewalls are an issue I’ll use dns authentication.

      If you are struggling and need a quick fix, the free tier of zero ssl will do a similar thing

      https://zerossl.com/

      I used it to get a cert for my printer