TLS 1.2 Configuration on Windows Java

Dear EE,

Need you help to configure TLS 1.2 on windows Java.

1) Which steps i should perform to enable TLS 1.2 on Java installed on Windows 2008 R2 EE?
2) Please help in configuration of TLS 1.2 with step by step.

Thanks
Netsol-NOSAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Kyle AbrahamsSenior .Net DeveloperCommented:
From:
https://tonyyan.wordpress.com/2015/07/17/enabled-tls-1-2-and-tls-1-1-on-java-7/
(Note on the below I would remove TLSv1 and v1.1, but including it as I'm citing the source.)
-Dhttps.protocols=TLSv1,TLSv1.1,TLSv1.2

Open in new window



or
System.setProperty(“https.protocols”, “TLSv1,TLSv1.1,TLSv1.2”);

Open in new window

0
Netsol-NOSAuthor Commented:
Thanks, Kyle for your quick reply.

Appreciated if you would elaborate it in detail.

Where should i go and open which document to change the settings or enter lines which you have mentioned above.

Thanks
0
Kyle AbrahamsSenior .Net DeveloperCommented:
The dhttps you can use when calling the java program directly.

$ java -Dhttps.protocols=TLSv1.2

Open in new window


More Info:
   https://docs.oracle.com/javase/8/docs/technotes/guides/net/proxies.html

and

https://blogs.oracle.com/java-platform-group/diagnosing-tls,-ssl,-and-https
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Netsol-NOSAuthor Commented:
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java

From novice to tech pro — start learning today.