NginxProxyManager / NginxProxyManager/nginx-proxy-manager

Porkbun DNS provider broken

Open
#3,432 9 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

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

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

Start at the SSL Certificates > Add SSL Certificate > Lets Encrypt flow and reproduce the Porkbun DNS-provider failure using the shown certbot command. Trace why the Porkbun credentials argument is rejected; done means a Porkbun-backed certificate is provisioned successfully without the unrecognized-argument error.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, typescript
Domain
devops, security
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.