>> And it returns this kind of error >> error:14077438:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert internal >> error >> >> The site uses TLS 1.1, AES_128_CBC_SHA1, ECDHE-ECDSA. > > Perhaps there is a middlebox in the way that gets version negotiation wrong. Try adding the -tls1 flag. Flag "-servername" helped.