In my java Code i am creating one instance of SSL Context using command
SSLContext ctx = SSLContext.getInstance("TLS");
But in my tomcat server i am setting TLSv1.2 and i am getting handshake error.
How we can support all the TLS protocols using this method like in cpp we have SSLV23 client method which will support all protocols.