SSL ERR_SSL_UNRECOGNIZED_NAME_ALERT
I'm struggling to get NPM to work with any SSL proxy enabled host.
Everything was working up until a month ago but then I started getting this error:
I have tried the following:
- Using a lets encrypt wild card cert.
- Lets encrypt domain cert.
- Custom RapidSSL certificate.
- Pulling the latest docker image.
- Clearing the docker volume and re-creating
Config:
I am also getting the same thing, only on Chrome though. I can open the same sites in FireFox and they will work just fine.
I am also getting the same thing, only on Chrome though. I can open the same sites in FireFox and they will work just fine.
I didn't think to try Firefox but can confirm its the same for me. Only occurs on Chromium based browsers.
I'm having the same issue, but I use firefox more. I can CTRL+SHIFT+R for a hard refresh, but that seems to only work for a bit until it starts again.
Same issue but it's unreliable. Only on chrome for me, and sometimes it will briefly work. Had a setup that has worked for ~3 years until this.
I have 3 domains all with the same setup, but only 1 domain exhibits this issue.
I do wonder more if this has something to do with changes to Lets Encrypt and google HSTS or something...?
AM getting the same issue with Chrome only so far. Been using Proxy Manager for years no issues until recently. Seem to get it randomly around my network.
AM getting the same issue with Chrome only so far. Been using Proxy Manager for years no issues until recently. Seem to get it randomly around my network.
Funny you should say that - I have also noticed it's only an issue on my local network, but accessing remotely doesn't seem to be an issue.
AM getting the same issue with Chrome only so far. Been using Proxy Manager for years no issues until recently. Seem to get it randomly around my network.
Funny you should say that - I have also noticed it's only an issue on my local network, but accessing remotely doesn't seem to be an issue.
Agree. Do you have internal DNS server like Pi-Hole or resolve to a public DNS?
AM getting the same issue with Chrome only so far. Been using Proxy Manager for years no issues until recently. Seem to get it randomly around my network.
Funny you should say that - I have also noticed it's only an issue on my local network, but accessing remotely doesn't seem to be an issue.
Agree. Do you have internal DNS server like Pi-Hole or resolve to a public DNS?
Pi-hole internal DNS with unbound. My internal domains are setup in pi-hole to point to NPM. Is this what you use?
AM getting the same issue with Chrome only so far. Been using Proxy Manager for years no issues until recently. Seem to get it randomly around my network.
Funny you should say that - I have also noticed it's only an issue on my local network, but accessing remotely doesn't seem to be an issue.
Agree. Do you have internal DNS server like Pi-Hole or resolve to a public DNS?
Pi-hole internal DNS with unbound. My internal domains are setup in pi-hole to point to NPM. Is this what you use?
Exactly the same as my network
Same setup here as well. But I think it is a Chromium based browser issue since everything works in FireFox without issue. But it is strange that I can close Chrome and reopen it and it works for a few minutes. I can also reset my network adaptor and it will work again, for a few minutes.
Of course, mine is currently working right now but I will try and disable PiHole and see if that fixes it. EDIT: Nope.
try adding these rules in Advanced tab
proxy_ssl_name $host;
proxy_ssl_server_name on;
I have the same issue. I get an SSL error only when I'm connected to pi-hole in my local network. If I enter my website form the internet (from Cloudflare) everything works well. On pihole I have local dns set up to point to npm. My solution is disabling local dns for now and my traffic will go through Cloudflare even form my local network.
Same issue here. Any Chromium browser the issue is present, Firefox is fine. Config has not changed, the error just appeared on all subdomains.
I'm probably jinxing it, but this appears to have resolved itself on one of my domains. Persisting on another one that started having the problem a few days later. Tells me it probably has something to do with Chrome's implementation of HSTS and pre-fetching of SSL certs or something, and not really anything to do with NPM.
I'm probably jinxing it, but this appears to have resolved itself on one of my domains. Persisting on another one that started having the problem a few days later. Tells me it probably has something to do with Chrome's implementation of HSTS and pre-fetching of SSL certs or something, and not really anything to do with NPM.
Agree - I haven't seen it happen all day today. Hopefully you are right
Still happening to me for all of my domains unfortunately. My Chrome is up to date as well. I was planning on ditching Chrome when manifest V3 comes out but maybe I'll just make the shift now...
It's happening for me in Edge (so Chromium). I find it hard to believe both Edge and Chrome got the same update at the exactly the same time, but I guess it is possible. It also breaks on Android/chrome as well. I thought it may be due to my split dns only being ipv4 so I did a full ipv6 setup locally and thought I had solved the issue but it randomly the error occurs.
I'm pretty sure this is an issue with ipv6 DNS lookup in Pihole.
I noticed that it was returning an ipv6 address even though I only configured an ipv4 address in local dns:
I had to disable it by adding this line into my dnsmasq.d configuration file:
Since doing that it has been working without any issues.
Although I want to test it for a bit longer before saying for sure that was it.
This is not an IPv6 issue. At least not for most of us. I can confirm that IPv6 is disabled on my PC and I only resolved IPv4 addresses for my internal server, such as NPM. I am not using PiHole, which leads my to believe it's either a browser or NMP issue. I host several sites through NPM and when this problem happens for one site, other may still work as expected. This is either a Chromium browser issue with the SSL certs provided by Let's Encrypt or it NPM selectively not presenting that certificate or at least presenting it how the browser expects it to be presented.
So far, Edge (my browser of choice) has this issue every 5 mins or so. During this FireFox works as expected.
@zaigham I tried your suggestion, but it made no difference. I believe those options are set by default anyway. But is was worth a try.
This is not an IPv6 issue. At least not for most of us. I can confirm that IPv6 is disabled on my PC and I only resolved IPv4 addresses for my internal server, such as NPM. I am not using PiHole, which leads my to believe it's either a browser or NMP issue. I host several sites through NPM and when this problem happens for one site, other may still work as expected. This is either a Chromium browser issue with the SSL certs provided by Let's Encrypt or it NPM selectively not presenting that certificate or at least presenting it how the browser expects it to be presented.
So far, Edge (my browser of choice) has this issue every 5 mins or so. During this FireFox works as expected.
@zaigham I tried your suggestion, but it made no difference. I believe those options are set by default anyway. But is was worth a try.
It's entirely possible there are multiple issues here.
I have to admit since making that change it has been flawless for me. I was previously getting the error almost 90 percent of the time I attempted to browse to one of the proxy hosts. Then randomly it would work a few times after a lot of refreshing.
I only realized afterwards, but those ipv6 addresses were actually my Cloudflare tunnel IPs. I suspect the browser didn't like that there were two different certificates. My local lets encrypt cert on the ipv4 address and the Cloudflare one on the ipv6 address. Although honestly that is just a guess.
In any case. I will leave the issue open for anyone else still experiencing the problem.