Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

got java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty when using cas [duplicate]

Tags:

java

ssl

cas

we get the following exception in our application under tomcat which is using cas.

java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty

when I google for it I found some guess and solutions but no one can help me .

here is a part of our tomcat server.xml file:

<Connector SSLEnabled="true" clientAuth="false" keystoreFile="conf/.keystore" maxThreads="150" port="8443" protocol="HTTP/1.1" scheme="https" secure="true" sslProtocol="TLS"/>

we point to our generated keystore.

like image 972
Jimmy1980 Avatar asked Jul 09 '11 06:07

Jimmy1980


1 Answers

This bizarre error message usually means that your specified truststore was not found where you said it was.

like image 142
user207421 Avatar answered Sep 21 '22 13:09

user207421