The server does not allow secure connections

If you can’t use secure connections in the LAN, it is in 95% of cases caused by DNS.