Hi The SSL hand shake has to happen when the ssl server socket returns the socket, I mean on "accept()" methodNo.
or it has to happen on first I/O.Yes, or before.
But why is it happening when obtaining "socket.getOutputStream()"? Even before i write something to "outputStream" the hand shake is happening. What is the reason for it?If so, it's because that's the way they designed it.