Describe the bug
Golang 1.25, the message TLS Handshake failed: cannot read handshake packet: EOF appears.
To Reproduce
Golang 1.24 and earlier work fine
but starting with 1.25, the message TLS Handshake failed: cannot read handshake packet: EOF appears.
If you set the environment variable GODEBUG=tlssha1=1 or add encrypt=disable to the connection string, Go will work properly.
Additional context
You can find the related text "SHA-1 signature algorithms are now disallowed in TLS 1.2 handshakes, per RFC 9155"