NginxProxyManager / NginxProxyManager/nginx-proxy-manager

No peer certificate for SSL resulting in UNRECOGNIZED NAME error

Open
#3,752 5 comments 0 reactions 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

After installing NPM using the official instructions and setting up a certificate for domain x.y.com, https connections do not work at all, including the congratulations page. Trying to access the congratulations page via https results in a UNRECOGNIZED NAME error in the browser. Inspecting the certificate via openssl results in:

openssl s_client -showcerts -connect x.y.com:443
CONNECTED(00000003)
40B7D2AD887F0000:error:0A000458:SSL routines:ssl3_read_bytes:tlsv1 unrecognized name:../ssl/record/rec_layer_s3.c:1586:SSL alert number 112
---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 7 bytes and written 329 bytes
Verification: OK
---
New, (NONE), Cipher is (NONE)
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
Early data was not sent
Verify return code: 0 (ok)
---

Nginx Proxy Manager Version

2.11.2

To Reproduce
Steps to reproduce the behavior:

  1. Install using the quick setup instructions from the README file.
  2. In the portal, add SSL certificate for chosen domain. Using cloudflare DNS challenge, if that makes a difference.
  3. Connect to chosen domain via https. Note the error.

Expected behavior

Congratulations page, as visible via plain HTTP.

Screenshots

n/a

Operating System

TrueNAS custom app deployment.

Additional context

Plain HTTP works. The domain used seems to not be the problem - tried on two different ones.

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 by reproducing the HTTPS failure on Nginx Proxy Manager 2.11.2 using the reported TrueNAS custom app deployment and the provided openssl s_client command. Compare the generated certificate and hostname handling with the plain HTTP path; done means the configured domain completes the TLS handshake and serves the congratulations page over HTTPS.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, nginx
Domain
infrastructure, networking, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.