SSL_ERROR_UNRECOGNIZED_NAME_ALERT #4279
elektrinis
started this conversation in
General
Replies: 1 comment
-
Tried this in command line:
Is it possible that NPM somehow blocks my certificate? Another weird one when trying curl:
So it actually loads a document on http? I'm lost. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using NPM with Home Assistant, so this is HA-specific. I'm not sure what is causing the problem, so raised this question on HA forums as well.
Short story, I get an error when visiting my site:
SSL_ERROR_UNRECOGNIZED_NAME_ALERT
Full story below.
I have Home Assistant OS running on proxmox VM. I have multiple web services on the server, so I’m using nginx proxy manager to forward web requests to my ha.domain.com. I have a proper static external IP address and all my websites work well. Except for HA.
I’ve configured HA to work on port 433.
I’m using Let’s Encrypt add-on to generate the keys and it finishes without errors:
When I visit HA via internal IP https://192.168.69.4:433, I get an expected certificate error, which I ignore (“accept risk”) and GUI loads. I open up certificate details on Firefox and I see that the certificate is being provided, the domain is correct, it’s verified by Let’s Encrypt and that it is valid for 3 months. All seems well.
But when I visit my ha.domain.com, I get an error
SSL_ERROR_UNRECOGNIZED_NAME_ALERT
and there is no option to ignore it.On certificate information, Firefox says “Verified by: Not specified”. As if no certificate is provided.
On my nginx proxy manager I’ve set to forward to HTTPS 192.168.69.4 and to port 433. NPM can supply its own certificate, but I’ve set that to off. To be clear, if I enable NPM certificate, the site loads properly. But I need proper certificate on the server itself due to other reasons, Tesla fleet integration being one of them.
Note that I have other websites on the server, they provide their own certificates, and everything is working properly with NPM certificate set to off.
Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions