server icon indicating copy to clipboard operation
server copied to clipboard

TLS error when using .local domains

Open adamshand opened this issue 9 months ago • 3 comments

Hey,

Trying to get my wife setup so we can have a play and see if she likes it. :-)

I use zeroconf/bonjour instead of DNS for some of my servers in my homelab. It works as expected when using an IP address, but with a server.local I get a TLS error when trying to connect.

HandshakeException: Handshake error in client (OS ERROR:
WRONG_VERSION_NUMBER(tls_record.cc:231))

I'm guessing this is because it's failing to generate a TLS certificate for private TLD?

If so, might be good to add an exception for all the common TLDs for which a certificate can't be used for an automatically registered domain?

eg. .intranet, .internal, .private, .corp, .home, .lan, .home.arpa, .home, .example, .test, and .invalid

Cheers, Adam.

adamshand avatar Feb 12 '25 00:02 adamshand

Thanks for the report. Where is this log from actually?

nikolaydimitrov avatar Feb 12 '25 09:02 nikolaydimitrov

There error message pops up in the circled.me ui.

adamshand avatar Feb 12 '25 19:02 adamshand

@adamshand did you start with "http://" ? That is necessary as if not specified, e.g. "server.com" or "server.local", etc, it assumes it is on "https://" by default.

nikolaydimitrov avatar Feb 23 '25 08:02 nikolaydimitrov