CAS单点登录报错:unable to find valid certification path to requested target


错误信息:

Whitelabel Error Page
This application has no explicit mapping for /error, so you are seeing this as a fallback.

Sat Jul 06 18:30:42 CST 2019

There was an unexpected error (type=Internal Server Error, status=500).

javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

解决办法:

不要使用系统默认的JDK,要使用已经安装了证书的JDK。

默认的JDK如下图所示:

 

 

安装了证书的JDK如下图所示:

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM