[GH-ISSUE #3432] Porkbun DNS provider broken #2293

Open
opened 2026-02-26 07:34:53 +03:00 by kerem · 8 comments
Owner

Originally created by @JacobMillward on GitHub (Jan 5, 2024).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/3432

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
Trying to create a new SSL Certificate using LetsEncrypt and the Porkbun DNS provider fails, with the error:

Error: Command failed: certbot certonly --config "/etc/letsencrypt.ini" --work-dir "/tmp/letsencrypt-lib" --logs-dir "/tmp/letsencrypt-log" --cert-name "npm-15" --agree-tos --email "REDACTED" --domains "REDACTED" --authenticator dns-porkbun --dns-porkbun-credentials "/etc/letsencrypt/credentials/credentials-15"
usage: 
  certbot [SUBCOMMAND] [options] [-d DOMAIN] [-d DOMAIN] ...

Certbot can obtain and install HTTPS/TLS/SSL certificates.  By default,
it will attempt to use a webserver both for obtaining and installing the
certificate. 
certbot: error: unrecognized arguments: --dns-porkbun-credentials /etc/letsencrypt/credentials/credentials-15

    at ChildProcess.exithandler (node:child_process:402:12)
    at ChildProcess.emit (node:events:513:28)
    at maybeClose (node:internal/child_process:1100:16)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5)

Nginx Proxy Manager Version
v2.10.4

To Reproduce
SSL Certificates > Add SSL Certificate > Lets Encrypt.

Attempt to setup a certificate for a domain using the Porkbun DNS provider.

Expected behavior
A certificate is correctly provisioned.

Operating System
Proxmox LXC Container via Proxmox VE Helper-Scripts

Originally created by @JacobMillward on GitHub (Jan 5, 2024). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/3432 <!-- Are you in the right place? - If you are looking for support on how to get your upstream server forwarding, please consider asking the community on Reddit. - If you are writing code changes to contribute and need to ask about the internals of the software, Gitter is the best place to ask. - If you think you found a bug with NPM (not Nginx, or your upstream server or MySql) then you are in the *right place.* --> **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** Trying to create a new SSL Certificate using LetsEncrypt and the Porkbun DNS provider fails, with the error: ``` Error: Command failed: certbot certonly --config "/etc/letsencrypt.ini" --work-dir "/tmp/letsencrypt-lib" --logs-dir "/tmp/letsencrypt-log" --cert-name "npm-15" --agree-tos --email "REDACTED" --domains "REDACTED" --authenticator dns-porkbun --dns-porkbun-credentials "/etc/letsencrypt/credentials/credentials-15" usage: certbot [SUBCOMMAND] [options] [-d DOMAIN] [-d DOMAIN] ... Certbot can obtain and install HTTPS/TLS/SSL certificates. By default, it will attempt to use a webserver both for obtaining and installing the certificate. certbot: error: unrecognized arguments: --dns-porkbun-credentials /etc/letsencrypt/credentials/credentials-15 at ChildProcess.exithandler (node:child_process:402:12) at ChildProcess.emit (node:events:513:28) at maybeClose (node:internal/child_process:1100:16) at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5) ``` **Nginx Proxy Manager Version** v2.10.4 **To Reproduce** SSL Certificates > Add SSL Certificate > Lets Encrypt. Attempt to setup a certificate for a domain using the Porkbun DNS provider. **Expected behavior** A certificate is correctly provisioned. **Operating System** Proxmox LXC Container via [Proxmox VE Helper-Scripts](https://tteck.github.io/Proxmox/)
Author
Owner

@flobere commented on GitHub (May 1, 2024):

have you installed the required porkbun plugin?

<!-- gh-comment-id:2087906610 --> @flobere commented on GitHub (May 1, 2024): have you installed the required [porkbun plugin](https://github.com/infinityofspace/certbot_dns_porkbun)?
Author
Owner

@JacobMillward commented on GitHub (May 30, 2024):

I've since switched my DNS to Cloudflare, as that seems more widely supported. Therefore I cannot update with any more information on this issue.

<!-- gh-comment-id:2139172021 --> @JacobMillward commented on GitHub (May 30, 2024): I've since switched my DNS to Cloudflare, as that seems more widely supported. Therefore I cannot update with any more information on this issue.
Author
Owner

@github-actions[bot] commented on GitHub (Jan 2, 2025):

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

<!-- gh-comment-id:2567224621 --> @github-actions[bot] commented on GitHub (Jan 2, 2025): Issue is now considered stale. If you want to keep it open, please comment :+1:
Author
Owner

@AntiApple4life commented on GitHub (Jan 21, 2025):

I am also having this issue.

<!-- gh-comment-id:2605512760 --> @AntiApple4life commented on GitHub (Jan 21, 2025): I am also having this issue.
Author
Owner

@sunjam commented on GitHub (Apr 3, 2025):

@flobere according to https://github.com/NginxProxyManager/nginx-proxy-manager/pull/1099 support for that has been integrated since 2021, unless I'm not understanding.

<!-- gh-comment-id:2777198345 --> @sunjam commented on GitHub (Apr 3, 2025): @flobere according to https://github.com/NginxProxyManager/nginx-proxy-manager/pull/1099 support for that has been integrated since 2021, unless I'm not understanding.
Author
Owner

@b3nw commented on GitHub (Apr 10, 2025):

also having this issue, not sure why:

CommandError: usage: 
  certbot [SUBCOMMAND] [options] [-d DOMAIN] [-d DOMAIN] ...

Certbot can obtain and install HTTPS/TLS/SSL certificates.  By default,
it will attempt to use a webserver both for obtaining and installing the
certificate. 
certbot: error: unrecognized arguments: --dns-porkbun-credentials /etc/letsencrypt/credentials/credentials-3

    at /app/lib/utils.js:16:13
    at ChildProcess.exithandler (node:child_process:410:5)
    at ChildProcess.emit (node:events:513:28)
    at maybeClose (node:internal/child_process:1100:16)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5)

root@npm-2:/# certbot plugins | grep porkbun
Saving debug log to /var/log/letsencrypt/letsencrypt.log
* dns-porkbun
Entry point: EntryPoint(name='dns-porkbun',
value='certbot_dns_porkbun.cert.client:Authenticator', group='certbot.plugins')
<!-- gh-comment-id:2794758189 --> @b3nw commented on GitHub (Apr 10, 2025): also having this issue, not sure why: ``` CommandError: usage: certbot [SUBCOMMAND] [options] [-d DOMAIN] [-d DOMAIN] ... Certbot can obtain and install HTTPS/TLS/SSL certificates. By default, it will attempt to use a webserver both for obtaining and installing the certificate. certbot: error: unrecognized arguments: --dns-porkbun-credentials /etc/letsencrypt/credentials/credentials-3 at /app/lib/utils.js:16:13 at ChildProcess.exithandler (node:child_process:410:5) at ChildProcess.emit (node:events:513:28) at maybeClose (node:internal/child_process:1100:16) at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5) ``` ``` root@npm-2:/# certbot plugins | grep porkbun Saving debug log to /var/log/letsencrypt/letsencrypt.log * dns-porkbun Entry point: EntryPoint(name='dns-porkbun', value='certbot_dns_porkbun.cert.client:Authenticator', group='certbot.plugins') ```
Author
Owner

@eycer1995 commented on GitHub (Aug 10, 2025):

I also have the same issue, is there any workaround?

<!-- gh-comment-id:3172632798 --> @eycer1995 commented on GitHub (Aug 10, 2025): I also have the same issue, is there any workaround?
Author
Owner

@VinMeld commented on GitHub (Oct 16, 2025):

Just giving my input, it should automatically download the porkbun plugin, and run the appropriate command.
Not sure why it wouldn't install for you, but using the latest version it's working for me.
The only "issue" is that the certbot with porkbun plugin waits for the 600 second propagation delay to complete. Since the timeout is so long, nginx proxy manager UI displays a red error bar with no error contained. However, after the 600 seconds the DNS record shows up.

<!-- gh-comment-id:3412036783 --> @VinMeld commented on GitHub (Oct 16, 2025): Just giving my input, it should automatically download the porkbun plugin, and run the appropriate command. Not sure why it wouldn't install for you, but using the latest version it's working for me. The only "issue" is that the certbot with porkbun plugin waits for the 600 second propagation delay to complete. Since the timeout is so long, nginx proxy manager UI displays a red error bar with no error contained. However, after the 600 seconds the DNS record shows up.
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#2293
No description provided.