Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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 :-)

0 votes



3 answers

Permanent link
Please use the Java Version that ships with the client and the server, if you want to avoid problems. Thanks.

1 vote

Comments

Hi Ralph,

Thanks for your reply. I am new to RTC. Do not know much about it.

Is there a restriction that I have to use same version for RTC eclipse client and server ?

Can I use RTC Client 6.0.1 and Server version 5.0.2 ?

With respect to the eclipse client, you can use an older version client with a newer server but the reverse is not true. That being said, at some point the eclipse client will be considered "too old" for the server as well.

So the RTC client 6.0.1 will NOT work with server 5.0.2. But a 5.0.2 client will work with a 6.0.1 server.

I believe a 4.0.6 client is considered too old to work with a 6.0.1 server because it is two major versions behind.


Permanent link
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

1 vote

Comments

Hi Zeeshan,

Thanks for your reply. I am new to RTC. Do not know much about it.

Is there a restriction that I have to use same version for RTC eclipse client and server ?

Can I use RTC Client 6.0.1 and Server version 5.0.2 ?

No. You can use 5.x client with 6.x server. The support is n-1 compatibility.
You can not use 6.x client with 5.x server


1 vote

How do I know which version of JDK is present in my RTC eclipse client ?

Hi Arshad

Open the command console and navigate to the below location:
<<TeamConcert directory>>\jdk\bin

Type 'java -version' and press enter.
RTC eclipse client 5.0.2 and 6.x uses the Java7.

Regards,
Rohit

Hi Rohit,

Thanks for the response.. I have 5.0.2 eclipse client and it still uses java 6. I downloaded it yesterday from jazz. Can you tell me how to update this rtc client jdk to Java 7 or a download link from where I can download 5.0.2 with java 7?


Regards,
Arshad


Permanent link
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
jdk.certpath.disabledAlgorithms=MD2

to
#jdk.certpath.disabledAlgorithms=MD2

0 votes

Comments

Hi Atul,

Thanks for your reply. I am new to RTC. Do not know much about it.

Is there a restriction that I have to use same version for RTC eclipse client and server ?

Can I use RTC Client 6.0.1 and Server version 5.0.2 ?

You can connect to a newer version server by using an older version client, but you cannot connect to an older version server by using a newer version client.

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 1,220

Question asked: Mar 09 '16, 5:25 a.m.

Question was seen: 33,494 times

Last updated: Mar 14 '16, 4:28 p.m.

Confirmation Cancel Confirm