草庐IT

java - 得到 java.security.InvalidAlgorithmParameterException : the trustAnchors parameter must be non-empty when using cas

coder 2023-08-31 原文

<分区>

我们在使用 cas 的 tomcat 下的应用程序中出现以下异常。

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

当我用谷歌搜索时,我发现了一些猜测和解决方案,但没有人能帮助我。

这是我们的 tomcat server.xml 文件的一部分:

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

我们指向我们生成的 keystore 。

有关java - 得到 java.security.InvalidAlgorithmParameterException : the trustAnchors parameter must be non-empty when using cas的更多相关文章

随机推荐