[GH-ISSUE #4635] Nginx Proxy Manager fails to generate Let's Encrypt certificates using Cloudflare DNS #2952

Open
opened 2026-02-26 07:37:21 +03:00 by kerem · 13 comments
Owner

Originally created by @zanatrix on GitHub (Jul 4, 2025).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/4635

Describe the bug
Nginx Proxy Manager fails to generate Let's Encrypt certificates using Cloudflare DNS challenge due to package version conflicts between certbot-dns-cloudflare and cloudflare Python packages. The system reports:

  1. pkg_resources.VersionConflict: ( Requirement.parse('certbot>=4.1.1' ,CloudFlare=4) )

Nginx Proxy Manager Version
2.12.4 (Also occurs in latest)

To Reproduce

  1. Set up NPM with Cloudflare DNS credentials
  2. Attempt to request SSL certificate for any domain
  3. System fails with dependency errors

Expected behavior
Clean certificate generation using Cloudflare DNS-01 challenge

Operating System

  • Docker on Ubuntu 22.04
  • Portainer-managed
Originally created by @zanatrix on GitHub (Jul 4, 2025). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/4635 **Describe the bug** Nginx Proxy Manager fails to generate Let's Encrypt certificates using Cloudflare DNS challenge due to package version conflicts between certbot-dns-cloudflare and cloudflare Python packages. The system reports: 1. `pkg_resources.VersionConflict: ( Requirement.parse('certbot>=4.1.1' ,CloudFlare=4) )` **Nginx Proxy Manager Version** 2.12.4 (Also occurs in latest) **To Reproduce** 1. Set up NPM with Cloudflare DNS credentials 2. Attempt to request SSL certificate for any domain 3. System fails with dependency errors **Expected behavior** Clean certificate generation using Cloudflare DNS-01 challenge **Operating System** - Docker on Ubuntu 22.04 - Portainer-managed
Author
Owner

@wintech147 commented on GitHub (Jul 4, 2025):

I had this same issue. I think. I updated from 2.12.3 to 2.12.4 and I could not log in to my NPM container. Looking at the logs I saw this:

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

[7/4/2025] [4:44:45 PM] [Global ] › ✖ error Some plugins failed to install. Please check the logs above CommandError: Some plugins failed to install. Please check the logs above

at /app/lib/certbot.js:39:14

at Immediate.<anonymous> (/app/node_modules/batchflow/lib/batchflow.js:80:9)

at process.processImmediate (node:internal/timers:483:21) {

previous: undefined,

code: 1,

public: false

}

I had to revert back to 2.12.3 for things to work.

<!-- gh-comment-id:3036876900 --> @wintech147 commented on GitHub (Jul 4, 2025): I had this same issue. I think. I updated from 2.12.3 to 2.12.4 and I could not log in to my NPM container. Looking at the logs I saw this: ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts [7/4/2025] [4:44:45 PM] [Global ] › ✖ error Some plugins failed to install. Please check the logs above CommandError: Some plugins failed to install. Please check the logs above at /app/lib/certbot.js:39:14 at Immediate.<anonymous> (/app/node_modules/batchflow/lib/batchflow.js:80:9) at process.processImmediate (node:internal/timers:483:21) { previous: undefined, code: 1, public: false } I had to revert back to 2.12.3 for things to work.
Author
Owner

@mschout commented on GitHub (Jul 4, 2025):

I had the exact same issue, had to revert to 2.12.3

<!-- gh-comment-id:3036943468 --> @mschout commented on GitHub (Jul 4, 2025): I had the exact same issue, had to revert to 2.12.3
Author
Owner

@masterwishx commented on GitHub (Jul 4, 2025):

same issue on Oracle VPS (arm64), is any fix found ?

Image
<!-- gh-comment-id:3037030535 --> @masterwishx commented on GitHub (Jul 4, 2025): same issue on Oracle VPS (arm64), is any fix found ? <img width="2146" height="447" alt="Image" src="https://github.com/user-attachments/assets/e5dbeed3-9a6c-456d-ba00-775cb7d9a03a" />
Author
Owner

@bh56 commented on GitHub (Jul 4, 2025):

I was just switching over to Cloudflare as it supports DNS challenge and Squarespace does not. Spent quite a bit of time trying to figure why it wouldn't work. I reverted back to 2.12.3 and was able to add the certificate. Would be nice to be on the most current version though.

<!-- gh-comment-id:3037210398 --> @bh56 commented on GitHub (Jul 4, 2025): I was just switching over to Cloudflare as it supports DNS challenge and Squarespace does not. Spent quite a bit of time trying to figure why it wouldn't work. I reverted back to 2.12.3 and was able to add the certificate. Would be nice to be on the most current version though.
Author
Owner

@epiccolotto commented on GitHub (Jul 5, 2025):

I have the same issue, I have tried also with a new installation, and this is the error message when I try to get the Cloudflare certificate:

[7/5/2025] [9:51:40 AM] [Express  ] › ⚠  warning   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
<!-- gh-comment-id:3038680230 --> @epiccolotto commented on GitHub (Jul 5, 2025): I have the same issue, I have tried also with a new installation, and this is the error message when I try to get the Cloudflare certificate: ``` [7/5/2025] [9:51:40 AM] [Express ] › ⚠ warning 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 ```
Author
Owner

@fatexs commented on GitHub (Jul 5, 2025):

same here, had to revert to 2.12.3

ERROR: Cannot install certbot-dns-cloudflare==4.0.0 and cloudflare==4.0.* because these package versions have conflicting dependencies.

<!-- gh-comment-id:3038861144 --> @fatexs commented on GitHub (Jul 5, 2025): same here, had to revert to 2.12.3 `ERROR: Cannot install certbot-dns-cloudflare==4.0.0 and cloudflare==4.0.* because these package versions have conflicting dependencies.`
Author
Owner

@masterwishx commented on GitHub (Jul 5, 2025):

@zanatrix
Yep we all have the same issue duplicated in other #4617,#4625,#4629,#4636

<!-- gh-comment-id:3039473907 --> @masterwishx commented on GitHub (Jul 5, 2025): @zanatrix Yep we all have the same issue duplicated in other #4617,#4625,#4629,#4636
Author
Owner

@ForsakenRei commented on GitHub (Jul 6, 2025):

Several duplicated issues now, fortunately we can easily roll it back to 2.12.3.

<!-- gh-comment-id:3040471058 --> @ForsakenRei commented on GitHub (Jul 6, 2025): Several duplicated issues now, fortunately we can easily roll it back to 2.12.3.
Author
Owner

@bh56 commented on GitHub (Jul 17, 2025):

I saw a post on the other thread about someone trying the most current version. I updated to v2.12.6 and I'm able to use Cloudflare DNS challenge again. So, to me it appear to be fixed now.

<!-- gh-comment-id:3083926525 --> @bh56 commented on GitHub (Jul 17, 2025): I saw a post on the other thread about someone trying the most current version. I updated to v2.12.6 and I'm able to use Cloudflare DNS challenge again. So, to me it appear to be fixed now.
Author
Owner

@deviantintegral commented on GitHub (Jul 17, 2025):

Agreed, updated without issues. Let's close this one! And thanks @jc21 👏 .

<!-- gh-comment-id:3084329939 --> @deviantintegral commented on GitHub (Jul 17, 2025): Agreed, updated without issues. Let's close this one! And thanks @jc21 👏 .
Author
Owner

@qwerinope commented on GitHub (Jul 17, 2025):

Same here! The latest image doesn't have the issue anymore!

<!-- gh-comment-id:3085073864 --> @qwerinope commented on GitHub (Jul 17, 2025): Same here! The latest image doesn't have the issue anymore!
Author
Owner

@masterwishx commented on GitHub (Jul 17, 2025):

Yep, confirm. updated some days ago...

<!-- gh-comment-id:3085241270 --> @masterwishx commented on GitHub (Jul 17, 2025): Yep, confirm. updated some days ago...
Author
Owner

@github-actions[bot] commented on GitHub (Feb 1, 2026):

Issue is now considered stale. If you want to keep it open, please comment 👍

<!-- gh-comment-id:3830100930 --> @github-actions[bot] commented on GitHub (Feb 1, 2026): Issue is now considered stale. If you want to keep it open, please comment :+1:
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-proxy-manager-NginxProxyManager#2952
No description provided.