Skip to content

Commit

Permalink
quick fix to supported TLS versions, added 1.1 and 1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Kasra Rasaee committed Jun 5, 2016
1 parent dc41919 commit 6819133
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -432,7 +432,7 @@ private void handleConnectionPhases() throws QueryException {
SSLSocket sslSocket = (SSLSocket) sslSocketFactory.createSocket(socket,
socket.getInetAddress().getHostAddress(), socket.getPort(), true);

sslSocket.setEnabledProtocols(new String[]{"TLSv1"});
sslSocket.setEnabledProtocols(new String[]{"TLSv1.2", "TLSv1.1", "TLSv1"});
sslSocket.setUseClientMode(true);
sslSocket.startHandshake();
socket = sslSocket;
Expand Down

0 comments on commit 6819133

Please sign in to comment.