NginxProxyManager / nginx-proxy-manager

Docker container for managing Nginx proxy hosts with a simple, powerful interface
https://nginxproxymanager.com
MIT License
23.43k stars 2.72k forks source link

Internal error (to do with NodeJS?) when trying to make an SSL certificate #3717

Open Oak-Trees opened 7 months ago

Oak-Trees commented 7 months ago

Describe the bug When trying to make an SSL certificate I get an internal error with the following error message

CommandError: Saving debug log to /tmp/letsencrypt-log/letsencrypt.log
An unexpected error occurred:
Error creating new order :: Cannot issue for "thuis.home": Domain name does not end with a valid public suffix (TLD)
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:1105:16)
    at Socket. (node:internal/child_process:457:11)
    at Socket.emit (node:events:518:28)
    at Pipe. (node:net:337:12)

Nginx Proxy Manager Version 2.11.1

To Reproduce Steps to reproduce the behavior:

  1. Go to SSL certificates > make new certificate
  2. Enter domain name
  3. Enable agree to terms
  4. Click save and wait

Expected behavior I expect it to make a certificate succesfully

Screenshots

1

Operating System Raspberry Pi OS, version 12 64 bit on a Raspberry Pi 4

Additional context Docker version 26.0.2, build 3c863ff Portainer Community Edition 2.19.5 Firefox 124.0.2 (64-bits)

giovanni-cm commented 7 months ago

Same issue to me. It is not possible to renew existing certificates and it is not possible to obtain new certificates.

giovanni-cm commented 7 months ago

Found the culprit!!!!!!! It is not nginx-proxy-manager, but a change of the way to work of Let's Encrypt. Basically if you have geoblocking in your firewall, this is not allowing the automated procedure to obtain a Let's Encrypt certificate. Please see here: https://community.letsencrypt.org/t/unexpected-renewal-failures-during-april-2024-please-read-this/216830

Scope666 commented 6 months ago

Found the culprit!!!!!!! It is not nginx-proxy-manager, but a change of the way to work of Let's Encrypt. Basically if you have geoblocking in your firewall, this is not allowing the automated procedure to obtain a Let's Encrypt certificate. Please see here: https://community.letsencrypt.org/t/unexpected-renewal-failures-during-april-2024-please-read-this/216830

OMG I LOVE YOU!!!! ... ok, sorry, got too excited, but holy crap you just saved my day. I've been fighting with this for HOURS, turns out it was Geo blocking in my Unifi gear ... I thought to check that but it wasn't logging the block on the Unifi side, so I moved on to other things.

Thanks!!!!