this post was submitted on 07 Apr 2025
15 points (94.1% liked)

Selfhosted

45885 readers
300 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

Hi,

I've been following this guide to set up some basic selfhosted services (video) https://www.youtube.com/watch?v=qlcVx-k-02E (text) https://notthebe.ee/blog/easy-ssl-in-homelab-dns01/

I've managed to get things working, but DuckDNS (duckdns.org) seems to be unresponsive most of the time. I then tried to register my DNS at FreeDNS (freedns.afraid.org), but the generation of a ssl certificate in Nginx fails. I get the following error message in Nginx:

CommandError: Saving debug log to /tmp/letsencrypt- 
log/letsencrypt.log
Some challenges have failed.
Ask for help or search for solutions at 
https://community.letsencrypt.org/. See the logfile /tmp/letsencrypt- 
log/letsencrypt.log or re-run Certbot with -v for more details.

at /app/lib/utils.js:16:13
at ChildProcess.exithandler (node:child_process:430:5)
at ChildProcess.emit (node:events:518:28)
at maybeClose (node:internal/child_process:1104:16)
at ChildProcess._handle.onexit (node:internal/child_process:304:5)

The domain I chose is <my_subdomain>.privatedns.org.

Does anyone know how I can get Nginx to succeed in generating the ssl certificate so I don't have to start deploying ssl generation myself?

If I have to do it myself any useful resources will be appreciated.

Thanks :)

you are viewing a single comment's thread
view the rest of the comments

What is in the debug log?