T
T
Toster1002016-03-24 16:52:42
go
Toster100, 2016-03-24 16:52:42

What is the cause of the problem with TLS?

Connect to jabber server:

net.Dial("tcp", s.Addr+":5222")
//....
  config := tls.Config{InsecureSkipVerify: true, PreferServerCipherSuites: true}
tlsConn := tls.Client(s.Conn, &config)
hs := tlsConn.Handshake()
fmt.Println(hs)

remote error: protocol version not supported
I didn't really deal with SSL before, from the error, in principle, it is clear that someone (server or standard client) does not support someone's version of the protocol. But how do you know what exactly is the problem? Well, solve it, if possible.
For example, I took the null.pm server, but the same problem with everyone where SSL is required by default.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question