NginxProxyManager / NginxProxyManager/nginx-proxy-manager
Wrong Certificate Served when installing more than one cert and domain with one host
Nobody has claimed this yet.
- 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:latestdocker 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
nginx proxy manager serves wrong certificate if more than one certificate is served.
Nginx Proxy Manager Version
v2.12.1
To Reproduce
Steps to reproduce the behavior:
- Create two wildcard certificates with let's encrypt (*.a.b & *.b.a)
- Add the same host twice each using a different certificate upon different fqdn requested (eg 1.a.b and 1.b.a both pointing to x.x.x.x:xx
- Open both pages, one will have an error.
Expected behavior
Both requests get handled with correct cert.
Operating System
Ubuntu 24.04 current updates installed
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files or tests are named. Reproduce with the jc21/nginx-proxy-manager:latest Docker image using two wildcard certificates and two host entries as described, then inspect the generated proxy and TLS configuration. Done means both requested hostnames serve their respective certificates without an error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, nginx
- Domain
- networking, security
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100