It's all about the answers!

Ask a question

How to resolve "Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty"


Jeff Ong (14113541) | asked Jan 19 '18, 1:48 p.m.
retagged Jan 30 '18, 11:16 a.m. by Ken Tessier (84117)

We just downloaded the RTC 5.0.2 Mac64 Client from https://jazz.net/downloads/rational-team-concert/releases/5.0.2/RTC-Client-Mac64-5.0.2.zip.  We also installed Java 6 from https://support.apple.com/kb/DL1572?locale=en_US because the 5.0.2 client required it.  We are running macOS High Sierra 10.13.2.  When we try to connect to and RTC 5.0.2 server, we get this error,

CRJAZ6022E Cannot log into the following server: 'blabla.domain.ibm.com'.CRJAZ0099E An HTTP error occurred when this URL was being accessed: https://blabal.domain.ibm.com:9443/jazz/versionCompatibility?clientVersion=5.0.2. Error details: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty.  java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty  Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty  the trustAnchors parameter must be non-empty






Anyone have an idea on how to resolve this issue ?


Comments
Donald Nong commented Jan 21 '18, 8:22 p.m.

Similar issues were reported in the past but no clear solution was given.
https://jazz.net/forum/questions/135963/i-am-encountering-the-following-error-on-aix-with-rtc-403-help
https://jazz.net/forum/questions/49366/ssl-connection-problem

I have been using RTC 5.0.2 client on my Mac for a long time and never seen this error before. If you can give the complete stack trace, maybe we can have a better idea.


zhu siming commented Aug 21 '18, 11:33 p.m. | edited Aug 22 '18, 2:36 p.m.

Have you solved this problem?  I met the same  problem with you.
CRJAZ6022E Cannot log into the following server: 'nsjazz.raleigh.ibm.com'.
CRJAZ0099E An HTTP error occurred when this URL was being accessed: /ccm/versionCompatibility?clientVersion=6.0.1. Error details: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty.
  java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
  Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
  the trustAnchors parameter must be non-empty

One answer



permanent link
Kevin Ramer (4.5k6171190) | answered Jan 31 '18, 4:42 p.m.

Does your RTC server use the IBM internal certificate authority ?  It may be that the JRE's cacerts ( on the client ) doesn't contain a certificate it is willing to trust.   See paragraph 2 of https://en.wikipedia.org/wiki/Trust_anchor [ where it mentions "root certificate"

Your answer


Register or to post your answer.