To protect my Thrift server from a recently discovered SSLv3 vulnerability, I explicitly indicated which protocols should be enabled for the server socket:
TServerSocket socket = TSSLTransportFactory.getServerSocket(...); SSLServerSocket sslServerSocket = (SSLServerSocket) socket.getServerSocket; sslServerSocket.setEnabledProtocols(new String[] {"TLSv1.1", "TLSv1.2"});
However, although testing with TestSSLServer only contains TLSv1.1 and TLSv1.2, I can still connect with OpenSSL using SSLv3:
openssl s_client -connect localhost:1111 -ssl3
How can I completely disable SSLv3 in Thrift, so it no longer works during SSL connection establishment?
source share