0

I have a java code developed in jdk 1.7version which supports TLS1.1. Recently my company has implemented TLS1.2 in the server. Any suggestion or inputs on how to enable/implement TLS1.2 in my existing java code with out re-writing every thing from scratch in jdk1.8.

Here are the few things i tried to implement inside the java code but didn't work out.

    String check="TLSv1.2";
    Properties prop = new Properties();
    prop.setProperty("https.protocols", check);

I have deployed the java code in jboss server and jboss version is jboss-as-7.1.1.Final

Any inputs/suggestion would really helpful.

Thanks & Regards, Sameet.

Sameet
  • 11
  • 2
  • 2
    Upgrade to Java 1.8. You do not need to rewrite everything from scratch. In fact you probably don't need to rewrite **anything**. And note that by putting upgrades off, you are only making things more difficult (and maybe more expensive) for yourself in the long run. – Stephen C Dec 19 '18 at 07:34
  • my concern is jboss is in jboss-as-7.1.1.Final and if we upgrade to jdk 1.8, then the code will not work in the existing jboss version. – Sameet Dec 19 '18 at 08:01

0 Answers0