SyntaxFix
Write A Post
Hire A Developer
Questions
Do it like this:
SSLSocket socket = (SSLSocket) sslFactory.createSocket(host, port); socket.setEnabledProtocols(new String[]{"SSLv3", "TLSv1"});