got java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty when using cas
44,906
This bizarre error message usually means that your specified truststore was not found where you said it was.
![Admin](/assets/logo_square_200-5d0d61d6853298bd2a4fe063103715b4daf2819fc21225efa21dfb93e61952ea.png)
Author by
Admin
Updated on August 19, 2022Comments
-
Admin almost 2 years
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.
-
user207421 over 12 years@downvoter kindly explain your problem with this answer
-
Tim Post over 12 yearsGot your flag. Ran a check, nothing showing but will monitor.
-
Fayaz over 7 yearsThanks, your answer helped. My JVM was pointed to a different location with Java Options.
-
Rahul Kadukar over 7 years@EJP I never "messed" with your answer. I edited the answer that was changed by somebody else.
-
user207421 about 7 years@Mr.Napik Post your own answer if you like, but don't mess with mine thanks.