mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-26 01:45:54 +03:00
[GH-ISSUE #2742] routines:ssl3_read_bytes:tlsv1 unrecognized name #1885
Labels
No labels
awaiting feedback
bug
cannot reproduce
dns provider request
duplicate
enhancement
enhancement
enhancement
good first issue
help wanted
invalid
need more info
no certbot plugin available
product-support
pull-request
question
stale
troll
upstream issue
v2
v2
v2
v3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-proxy-manager-NginxProxyManager#1885
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @franciscopaniskaseker on GitHub (Mar 24, 2023).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/2742
Checklist
jc21/nginx-proxy-manager:latestdocker image?Describe the bug
When I execute this curl
I got tlsv1 error. Intried to enable tlsv1 and setup a cert, but did not work. Is this an openresty problem or npm config?
Nginx Proxy Manager Version
latest, installed yesterday.
To Reproduce
just execute the curl under https://ip:443
Expected behavior
passthrough ssl handshake without problems.
Operating System
ubuntu 20.05
@Balder1840 commented on GitHub (Aug 7, 2023):
I got the same issue when set the proxy_host's Domain Name as an IP address.
It seems that the SNI does not support literal IP address.
And please let me know if u solved this.
Thanks.
@dinbtechit commented on GitHub (Mar 14, 2024):
I'm having the same issue here. Unfortunately not sure how to fix it. As per the suggestion in #3627 I created a self-signed cert and uploaded it as a custom cert and restarted the nginx proxy but still the https is not working.
I poked around the configuration a bit. The Ngixs 443 SSL configuration does not appear to have any location.
Exec into the container:
and view the ngxis
default.conffileThere is some documentation on how to override the nginx config but no idea how to update the server 443 session.
https://nginxproxymanager.com/advanced-config/#custom-nginx-configurations
Hope someone who has a better knowledge ngix Proxy manager can help to figure out how to fix this. 🙏🙏
@akuznecov commented on GitHub (Mar 16, 2024):
Hello !
Just faced with same issue and seems it caused by
ssl_reject_handshake on;instruction set on NPM virtual hosts configurations.To avoid it you have to use modified cURL command, for example:
Additionally, on advanced configurations, when you have extra proxy server in front of NPM, then you have to add next lines on this extra proxy configuration (not to NPM):
@stefano-cherchi commented on GitHub (Jun 28, 2024):
Just faced the same problem and the reason was I forgot to add
to my configuration
@k4mil666 commented on GitHub (Sep 12, 2024):
Hello,
I'm currently facing this issue and attempted the suggested solution mentioned here, but unfortunately, it didn’t work for me. Has anyone managed to resolve this successfully? I would appreciate any advice or alternative solutions.
Thank you in advance!
@k4mil666 commented on GitHub (Sep 13, 2024):
I managed to resolve the issue. The problem is that curl in its basic form (without additional options) doesn't send an SNI when an IP address is provided in the URL. In configuration, there's an option ssl_reject_handshake in the default.conf, which rejects connections without an SNI.
To solve this, you can create a file in data/custom/ called http_top.conf and include your configuration without this option. After that, the connection to the IP address should work.
@github-actions[bot] commented on GitHub (Jun 12, 2025):
Issue is now considered stale. If you want to keep it open, please comment 👍