How to resolve "Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty"
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 ?
One answer
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"
Comments
Donald Nong
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
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