unable to find valid certification path to requested target
程序员文章站
2022-05-01 14:49:23
...
在cas单点登录的时候遇unable to find valid certification path to requested target错误,错误如下:
是因为没有将证书导入到JDK证书库
keytool -import -trustcacerts -alias java1234 -file D:/cas/keystore/java1234.cer -keystore "C:/Program Files/Java/jdk1.8.0_131/jre/lib/security/cacerts"
导入了证书,还要注意开发工具有没有使用相关jdk,我的IDE没有使用正确的jdk导致。
关于访问https证书,可以参考网上相关教程
CAS采用HTTPS协议处理用户请求,所以我们需要配置Tomca
推荐阅读
-
AndroidStudio构建项目提示错误信息“unable to find valid certification”的完美解决方案
-
unable to find valid certification path to requested target 的简单解决办法
-
JAVA 解决 unable to find valid certification path to requested target 证书认证
-
resttemplate 调用https 出错 unable to find valid certification path to requested target
-
Android Studio出现:Cause: unable to find valid certification path to requested target解决办法
-
解决安全证书问题unable to find valid certification path to requested target 解决记录
-
AndroidStudio构建项目提示错误信息“unable to find valid certification”的完美解决方案
-
unable to find valid certification path to requested target
-
解决unable to find valid certification path to requested target
-
IDEA unable to find valid certification path to requested target。PKIX path building failed