Overview: I am trying to run certificates for sites within my homelab following this tutorial: video tutorial
When I am within Proxy Manager I get the following error
CommandError: Saving debug log to /tmp/letsencrypt-log/letsencrypt.log
An unexpected error occurred:
ValueError: Requesting acme-v02.api.letsencrypt.org/directory: Network is unreachable
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 part I am most concerned with is this Requesting acme-v02.api.letsencrypt.org/directory: Network is unreachable
But if I do this on the server I get a 200 OK response.
root@NginxProxyManager:~# curl -I https://acme-v02.api.letsencrypt.org/directory
HTTP/2 200
server: nginx
date: Fri, 14 Mar 2025 02:07:53 GMT
content-type: application/json
content-length: 1042
cache-control: public, max-age=0, no-cache
replay-nonce: 3BLlaDHkeEnM6eK7I8F96rAq6zY-l3-3ODe6Ld1GzPcg9XUmV2c
x-frame-options: DENY
strict-transport-security: max-age=604800
My domain is: lthlabs.duckdns.org
I ran this command: mentioned above
It produced this output: shown above
My web server is (include version): no web server
The operating system my web server runs on is (include version):
My hosting provider, if applicable, is: self hosted
I can login to a root shell on my machine (yes or no, or I don't know): yes I can login as root on my machine
I'm using a control panel to manage my site (no, or provide the name and version of the control panel): The control panel is Nginx Proxy Manager
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you're using Certbot):