nginx-proxy-manager icon indicating copy to clipboard operation
nginx-proxy-manager copied to clipboard

SSL Unrecognized Name Alert

Open AmFerra opened this issue 1 year ago • 18 comments

Checklist

  • Have you pulled and found the error with jc21/nginx-proxy-manager:latest docker image?

  • Are you sure you're not using someone else's docker image?

    • No
  • Have you searched for similar issues (both open and closed)?

    • Yes

Describe the bug

accessing the website through cloudflare on HTTPS returns an ERR_SSL_UNRECOGNIZED_NAME_ALERT error. I am using the dns challenge

Nginx Proxy Manager Version

2.12.1

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

to see the default welcome wbepage

Screenshots

image

Operating System

TrueNAS

Additional context

latest truenas version, reinstalled, tried using the custom certificate, using port 8443 because 443 was acting wierd

AmFerra avatar Nov 12 '24 22:11 AmFerra

I'm using truenas 24.10.0.2 and NPM 2.12.1. I am also getting the same error when accessing internally from my network. No issues accessing from external, seems to always work.

One more note, from an android device running chrome I always will get ERR_SSL_UNRECOGNIZED_NAME_ALERT error. From Windows using Edge or Chrome I get ERR_QUIC_PROTOCOL_ERROR and if I disable QUIC then I get the SSL_UNREGCONIZED error. And as I mentioned, occasionally I get thru to the host without issue, but it doesn't last very long and breaks again.

Regards

ruderthanyou avatar Nov 13 '24 17:11 ruderthanyou

I am accessing it from the external network to get this error, i am using a custom certificate from cloudflare but it seems like that cant be applied to the website, but the DNS challenge ssl doesnt seem to work either

AmFerra avatar Nov 13 '24 20:11 AmFerra

I believe I figured out my issue. It seems related to DNS and some cname records that were not configured. Using unifi for DNS and they still don't support creating cname records. Anyway, switching to Adguard Home and creating the proper records seems to have solved my issue. Still testing, but looks good so far.

ruderthanyou avatar Nov 14 '24 16:11 ruderthanyou

+1

Tagnard avatar Nov 15 '24 14:11 Tagnard

it now says ssl handshake failed, I have no idea what I am doing and there is not a lot of documentation that I can find

AmFerra avatar Nov 15 '24 16:11 AmFerra

Hi, just resolved a similar problem two minutes ago. I had created a stream from the port 22 to a local port on my network. Strangely when I deactivated it everything fell into place and I no longer was having the SSL_ERROR_UNRECOGNIZED_NAME_ALERT. If @Ferrarisrex you need more info on my config @ me here and I'll create a ticket to tell the whole story and the steps to reproduce the error. If it is normal behavior feel free to ignore this message. I don't have a good enough understanding of networks to tell the difference...

leogout avatar Nov 17 '24 14:11 leogout

Same issue here... When accessing SSL port direct or using Cloudflare Tunnel, same error.

jjmmbb avatar Nov 22 '24 14:11 jjmmbb

Same issue

mrin avatar Nov 25 '24 13:11 mrin

+1

Recentiv avatar Dec 05 '24 18:12 Recentiv

Same issue here

FedeAbella avatar Dec 14 '24 02:12 FedeAbella

Same issue, any fix for this?

umutbesler avatar Feb 03 '25 12:02 umutbesler

Same issue, any fix for this?

For me the issue went away after I rebooted my nginx proxy container.

doozybytes avatar Feb 03 '25 12:02 doozybytes

Hi, I have the same problem here. Everything was working fine until it was not.

chunkyfen avatar Mar 07 '25 19:03 chunkyfen

.

I'm using truenas 24.10.0.2 and NPM 2.12.1. I am also getting the same error when accessing internally from my network. No issues accessing from external, seems to always work.

One more note, from an android device running chrome I always will get ERR_SSL_UNRECOGNIZED_NAME_ALERT error. From Windows using Edge or Chrome I get ERR_QUIC_PROTOCOL_ERROR and if I disable QUIC then I get the SSL_UNREGCONIZED error. And as I mentioned, occasionally I get thru to the host without issue, but it doesn't last very long and breaks again.

Regards

hi @ruderthanyou I am also facing this problem, if you got some fix can you let me know what should I do. i am facing this issue since December last year 💔

mrxehmad avatar Mar 08 '25 16:03 mrxehmad

Same issue, any fix for this?

For me the issue went away after I rebooted my nginx proxy container.

Same here. I added another sub domain name to an existing proxied host, while the cert allows per wildcard for all subdomains (just internal setup). the old entry still worked, the new one didn't.

After a reboot the new subdomain entry and another completely new entry for another host which didn't work before work now.

gunrunner20 avatar May 09 '25 19:05 gunrunner20

I'm getting this but I've noticed strangely the error doesn't occur when the computer is connecting to itself, only when something else tries to connect to it. I've tried rebooting the container, wiping it and retrying, etc. several times and nothing has seemed to work. I don't know what changed, (it was working before fine) but this is definitely still an issue and it's hitting my setup hard no matter what I try to do.

Editing to not spam with something that might be unnecessary - Anyone having this problem please react to this post with a party popper IF you are using Zerotier specifically for connections. I can't explain it, but for me the issue was specifically Zerotier and I'm not sure if it was just me having that issue, or if that's actually a significant number of people who are having this issue. If you are currently using zerotier, I'd suggest giving Netbird a look, as it seems to function as-expected. (and is significantly less fussy than Tailscale)

TheOverpassArsonist avatar Sep 25 '25 17:09 TheOverpassArsonist

i have the same issue, seems te be intermittend after some time everything works fine once more. only appearse when connecting from a local lan. not when connting from wan.

digitaluc342587 avatar Sep 29 '25 10:09 digitaluc342587

+1

Bugi82 avatar Nov 05 '25 20:11 Bugi82