I have set up HA for use over TLS. I am paying for Nabu Casa Cloud, so I am just doing this for LAN traffic. I have my own domain, with cloudflare, set up the nginx rev proxy so it has an API key to cloudflare, and Nginx has the cert.
When I do
curl -vI https://ha.mydomainhere.com
then I see the TLS handshake and all is good.
When i do
wget ha.mydomainhere.com
then I get the index.html file downloaded successfully.
When I do
openssl s_client -connect 192.168.4.4 -servername ha.mydomainhere.com -showcerts
then I see my own cert as cert 1, and letsencrypt as cert 2.
BUT, using Zen browser or Brave browser, browsing to
https://ha.mydomainhere.com
Then it says
An error occurred during a connection to ha.mydomainhere.com. SSL peer has no certificate for the requested DNS name.
Error code: SSL_ERROR_UNRECOGNIZED_NAME_ALERT
The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.
Please contact the website owners to inform them of this problem.
What extra steps am i missing to make the browsers happy about this TLS setup?
Thanks