NginxProxyManager / NginxProxyManager/nginx-proxy-manager

Nginx Proxy Manager fails to create SSL certificate when selecting Cloudflare DNS challange and providing the Cloudflare API token.

Open
#4,636 20 comments 22 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
34.2k
Forks
3.9k
Avg merge
21h 12m
Merged PRs (30d)
20

Description

Nginx Proxy Manager app version: v2.12.4
Nginx Proxy Manager fails to create SSL certificate when selecting Cloudflare DNS challange and providing the Cloudflare API token.

Error message:
CommandError: ERROR: Cannot install certbot-dns-cloudflare==4.0.0 and cloudflare==4.0.* because these package versions have conflicting dependencies.
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

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

Many suggest to downgrade for example v2.12.3. This is not an option for me because the app is installed through TrueNAS catalogue and it installs the latest application. This is a fresh installation, I don't have earlier version.
Please suggest me a solution how I can get the certificate installed and working.
Thank you.

OS: TrueNAS 25.04.1 - Fangtooth

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Begin at /app/lib/utils.js:16 and inspect how certificate creation installs certbot-dns-cloudflare==4.0.0 alongside cloudflare==4.0.*. Reproduce the reported ResolutionImpossible error on the v2.12.4 TrueNAS installation; done means the Cloudflare DNS challenge can create an SSL certificate without that dependency conflict.

Written by the indexing model from the issue text.

Assessment

Tech stack
nginx, python
Domain
devops, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.