How to avoid "java.security.NoSuchAlgorithmException: SSL_TLS SSLContext not available.." if we use java 8 ?
Hi All,
I tried to login to RTC using the below configuration:
Java version : Java 8
RTC Version : 5.0.2
and it produces me the following exception.
java.security.NoSuchAlgorithmException: SSL_TLS SSLContext not available
at sun.security.jca.GetInstance.getInstance(Unknown Source)
at javax.net.ssl.SSLContext.getInstance(Unknown Source)
at com.ibm.team.repository.transport.client.SSLUtils.createSSLContext(SSLUtils.java:204)
at com.ibm.team.repository.transport.client.SSLUtils.createSSLContext(SSLUtils.java:165)
at com.ibm.team.repository.transport.client.SSLUtils.createSSLContext(SSLUtils.java:186)
at com.ibm.team.repository.transport.client.SecureInterruptableSocketFactory.<init>(SecureInterruptableSocketFactory.java:127)
at com.ibm.team.repository.transport.client.SecureInterruptableSocketFactory.<init>(SecureInterruptableSocketFactory.java:118)
at com.ibm.team.repository.transport.client.RemoteTeamServer.buildHostConfiguration(RemoteTeamServer.java:269)
at com.ibm.team.repository.transport.client.RemoteTeamServer.ensureInitialized(RemoteTeamServer.java:233)
at com.ibm.team.repository.transport.client.RemoteTeamServer.setCredentials(RemoteTeamServer.java:502)
at com.ibm.team.repository.client.internal.TeamRepository.<init>(TeamRepository.java:388)
at com.ibm.team.repository.client.internal.TeamRepositoryService.createSharedTeamRepository(TeamRepositoryService.java:526)
at com.ibm.team.repository.client.internal.TeamRepositoryService.getTeamRepository(TeamRepositoryService.java:113)
at com.ibm.team.repository.client.internal.TeamRepositoryService.getTeamRepository(TeamRepositoryService.java:132)
But it works fine with Java 6. Did not check with 7. How do I avoid this ? Any suggestions?
Thanks in advance for any help :-)
I tried to login to RTC using the below configuration:
Java version : Java 8
RTC Version : 5.0.2
and it produces me the following exception.
java.security.NoSuchAlgorithmException: SSL_TLS SSLContext not available
at sun.security.jca.GetInstance.getInstance(Unknown Source)
at javax.net.ssl.SSLContext.getInstance(Unknown Source)
at com.ibm.team.repository.transport.client.SSLUtils.createSSLContext(SSLUtils.java:204)
at com.ibm.team.repository.transport.client.SSLUtils.createSSLContext(SSLUtils.java:165)
at com.ibm.team.repository.transport.client.SSLUtils.createSSLContext(SSLUtils.java:186)
at com.ibm.team.repository.transport.client.SecureInterruptableSocketFactory.<init>(SecureInterruptableSocketFactory.java:127)
at com.ibm.team.repository.transport.client.SecureInterruptableSocketFactory.<init>(SecureInterruptableSocketFactory.java:118)
at com.ibm.team.repository.transport.client.RemoteTeamServer.buildHostConfiguration(RemoteTeamServer.java:269)
at com.ibm.team.repository.transport.client.RemoteTeamServer.ensureInitialized(RemoteTeamServer.java:233)
at com.ibm.team.repository.transport.client.RemoteTeamServer.setCredentials(RemoteTeamServer.java:502)
at com.ibm.team.repository.client.internal.TeamRepository.<init>(TeamRepository.java:388)
at com.ibm.team.repository.client.internal.TeamRepositoryService.createSharedTeamRepository(TeamRepositoryService.java:526)
at com.ibm.team.repository.client.internal.TeamRepositoryService.getTeamRepository(TeamRepositoryService.java:113)
at com.ibm.team.repository.client.internal.TeamRepositoryService.getTeamRepository(TeamRepositoryService.java:132)
But it works fine with Java 6. Did not check with 7. How do I avoid this ? Any suggestions?
Thanks in advance for any help :-)
3 answers
Please use the Java Version that ships with the client and the server, if you want to avoid problems. Thanks.
Comments
SSL_TLS (SSLV3) has been disabled for poodle attacks in latest versions of JAVA I think. You need to use minimum TLS.1.0 protocol for server client communication to avoid these errors.
How to disable it in Team concert you can refer to link below for security bulletin
http://www-01.ibm.com/support/docview.wss?uid=swg21687762
And use the supported JAVA versions with CLM 5.0.2
Server:
https://jazz.net/wiki/bin/view/Deployment/CLMSystemRequirements50#A9_Java_Runtime_Environment_Serv
Client:
https://jazz.net/wiki/bin/view/Deployment/CLMSystemRequirements50#B6_Java_SDK_RTC_Eclipse_Client
How to disable it in Team concert you can refer to link below for security bulletin
http://www-01.ibm.com/support/docview.wss?uid=swg21687762
And use the supported JAVA versions with CLM 5.0.2
Server:
https://jazz.net/wiki/bin/view/Deployment/CLMSystemRequirements50#A9_Java_Runtime_Environment_Serv
Client:
https://jazz.net/wiki/bin/view/Deployment/CLMSystemRequirements50#B6_Java_SDK_RTC_Eclipse_Client
Comments
1 vote
You can try un-disabling of MD2 by re-enabling it by editing JDK_HOME/jre/lib/security/java.security.
Simply comment the following line:
From
to
Simply comment the following line:
From
jdk.certpath.disabledAlgorithms=MD2
to
#jdk.certpath.disabledAlgorithms=MD2