nginx-proxy-manager icon indicating copy to clipboard operation
nginx-proxy-manager copied to clipboard

NPM No Longer Issues SSL Certificates with Cloudflare

Open F1zzyD opened this issue 7 months ago • 18 comments

Checklist

  • Have you pulled and found the error with jc21/nginx-proxy-manager:latest docker image?
    • Yes
  • Are you sure you're not using someone else's docker image?
    • Yes
  • Have you searched for similar issues (both open and closed)?
    • Yes

Describe the bug NPM can no longer issue SSL certificates with Cloudfare. I receive "Internal Error" or, when using a DNS challenge, the webpage never loads.

Nginx Proxy Manager Version latest and dev

To Reproduce Steps to reproduce the behavior:

  1. Go to request an SSL Certificate
  2. Wait
  3. See error "Internal Error"

Expected behavior An SSL is issued....

Log. Deleting file: /data/nginx/proxy_host/2.conf Deleting file: /data/nginx/proxy_host/2.conf.err Could not delete file: { "errno": -2, "code": "ENOENT", "syscall": "unlink", "path": "/data/nginx/proxy_host/2.conf.err" } CMD: /usr/sbin/nginx -t -g "error_log off;" Reloading Nginx CMD: /usr/sbin/nginx -s reload Requesting Let'sEncrypt certificates for Cert #6: hass.domain.cc Command: certbot certonly --config "/etc/letsencrypt.ini" --work-dir "/tmp/letsencrypt-lib" --logs-dir "/tmp/letsencrypt-log" --cert-name "npm-6" --agree-tos --authenticator webroot --email "[email protected]" --preferred-challenges "dns,http" --domains "hass.domain.cc" Command: certbot certonly --config "/etc/letsencrypt.ini" --work-dir "/tmp/letsencrypt-lib" --logs-dir "/tmp/letsencrypt-log" --cert-name "npm-6" --agree-tos --authenticator webroot --email "[email protected]" --preferred-challenges "dns,http" --domains "hass.domain.cc" CMD: certbot certonly --config "/etc/letsencrypt.ini" --work-dir "/tmp/letsencrypt-lib" --logs-dir "/tmp/letsencrypt-log" --cert-name "npm-6" --agree-tos --authenticator webroot --email "[email protected]" --preferred-challenges "dns,http" --domains "hass.domain.cc" Deleting file: /data/nginx/temp/letsencrypt_6.conf CMD: /usr/sbin/nginx -t -g "error_log off;" Reloading Nginx CMD: /usr/sbin/nginx -s reload 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.

Operating System Rasbian OS headless

Additional context This worked just fine two days ago but now it's completely broken. I went and asked the community at letsencrypt.org, however they were persistent that lets encrypt was working fine and that the problem was my domain (hass.domain.cc) not being reachable by HTTP, when I want my domain to be reached only by HTTPS.

I followed the steps at #3824 and those steps did not help. The goal is to get a local server hosted on a port sent through NGM and to my subdomain, and finally issued through HTTPS from Cloudflare. I now have 20 subdomains offline because of this.

F1zzyD avatar Jun 27 '24 09:06 F1zzyD