Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

agnos.is Forums

  1. Home
  2. Selfhosted
  3. help with generating ssl for freedns in nginx

help with generating ssl for freedns in nginx

Scheduled Pinned Locked Moved Selfhosted
selfhosted
4 Posts 4 Posters 8 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ? Offline
    ? Offline
    Guest
    wrote on last edited by
    #1

    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 🙂

    T irmadlad@lemmy.worldI N 3 Replies Last reply
    1
    0
    • System shared this topic on
    • ? Guest

      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 🙂

      T This user is from outside of this forum
      T This user is from outside of this forum
      [email protected]
      wrote on last edited by
      #2

      What is in the debug log?

      1 Reply Last reply
      0
      • ? Guest

        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 🙂

        irmadlad@lemmy.worldI This user is from outside of this forum
        irmadlad@lemmy.worldI This user is from outside of this forum
        [email protected]
        wrote on last edited by
        #3

        I have tried on numerous occasions to get freedns.afraid.org to work for me. I would be interested in how you got it going when you do get it all worked out.

        1 Reply Last reply
        0
        • ? Guest

          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 🙂

          N This user is from outside of this forum
          N This user is from outside of this forum
          [email protected]
          wrote on last edited by
          #4

          Do you have port 80 to nginx open? Certbot dry run will give you some diagnostics, but that is the most common issue (port 80 being closed).

          1 Reply Last reply
          0
          • System shared this topic on
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups