on-internet
← Community

Will SSLContext.getInstance("TLS") supports TLS v1.1 and TLS v1.2 also?

Stack Overflow ·

In my code I am creating one instance of SSLContext using this 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.

Comments

Sign in or sign up to comment and upvote.

No comments yet.