单点登录cas trustAnchors parameter must be non-empty

最近在配cas单点登录报出了trustAnchors parameter must be non-empty(trustAnchors参数必须非空)错误,google查了,资料甚少!http://blog.chinaunix.net/uid-26284318-id-3069142.html

其中此链接是一种解决的方法,但依然没解决了我的问题,最后搞定是tomcat运行的jdk跟你配的Server端key认证不是一个同一个jdk下的jre

<Connector    port="8443" protocol="HTTP/1.1" SSLEnabled="true"
               maxThreads="150" scheme="https" secure="true"
               minSpareThreads="25" maxSpareThreads="75"
               enableLookups="false" disableUploadTimeout="true"
               acceptCount="100" clientAuth="false" sslProtocol="TLS"
               keystoreFile="C:/Documents and Settings/chenriyun/.keystore" keystorePass="12ab!@"          truststoreFile="C:/jdk1.6.0_10/jre/lib/security/cacerts"
/>

猜你喜欢

转载自cry615.iteye.com/blog/1733916
今日推荐