Atmosphere / wasync

WebSockets with fallback transports client library for Node.js, Android and Java
http://async-io.org
161 stars 47 forks source link

SSLv2Hello HandshakeException #163

Open Justvuur opened 4 years ago

Justvuur commented 4 years ago

Hi there,

I'm using Java 1.8.241 with Embedded Jetty 9.29. I've been using the AtmosphereClient to connect.

I've recently tried making changes to the server to make use of HTTPS but the client is unable to connect. I get a javax.net.ssl.SSLHandshakeException: SSLv2Hello is disabled error. I've chatted to the Jetty guys, they say that SSLv2Hello has been disabled by default from Java 7+.

My question/issue, is it possible to use the AtmosphereClient with HTTPS? Can it be configured to use TLSv1.2 or greater? If so, do you have an example I could look at?

Thanks in advance!