1.2k questions

1.4k answers

361 comments

339 users

Categories

Sidebar
0 votes
47.4K views
by brandon-w-8204 (34.1k points)
With this latest Java 8 release, TLSv1 and TLSv1.1 are disabled by default in the java.security file. How do I re-enable those protocols?

1 Answer

+1 vote

1. Edit the JRE_HOME/lib/security/java.security file (Example: C:\program files\java\lib\security\java.security). 

2. Search the file for 'jdk.tls.disabledAlgorithms' and you will find a line that has the disabled protocols, and you will see that TLSv1 and TLSv1.1 are in the list.  

Example:

jdk.tls.disabledAlgorithms=SSLv3, TLSv1, TLSv1.1, RC4, DES, MD5withRSA, \
DH keySize < 1024, EC keySize < 224, 3DES_EDE_CBC, anon, NULL, \
include jdk.disabled.namedCurves

3. Remove one or both of them from the disabled protocols line, then you can restart QIE and it will be able to use the older protocols again.

Example with TLSv1.1 removed:

jdk.tls.disabledAlgorithms=SSLv3, TLSv1, RC4, DES, MD5withRSA, \
DH keySize < 1024, EC keySize < 224, 3DES_EDE_CBC, anon, NULL, \
include jdk.disabled.namedCurves
by brandon-w-8204 (34.1k points)
...