tomcat异常:unable to find valid certification path to requested target
来源:互联网 发布:matlab软件培训 编辑:程序博客网 时间:2024/06/08 08:52
运行keytool -importcert -alias startssl.ca -keystore "D:\Program Files (x86)\Java\jdk1.6.0_17\jre\lib\security\cacerts" -trustcacerts -file startssl-ca.crt,往jdk的jre添加了证书,然后怎么运行都是unable to find valid certification path to requested target这个错误。
后来一想,jdk下面有个jre,好像自己当初装jdk的时候另外还装了一个jre,而且在eclipse在建项目的时候library依赖的是installed jre,就是非jdk自带的jre。而我的tomcat是在eclipse里面的,应该用的也是一样的jre,然后我试着往另外单独安装的jre里面添加证书,keytool -importcert -alias startssl.ca -keystore "D:\Program Files (x86)\Java\jre6\lib\security\cacerts" -trustcacerts -file startssl-ca.crt,再运行,终于ok了。。泪流满面啊。。
不止一次因为jre的问题纠结在各种奇葩问题上,以后还是就一个jre算了。
- tomcat异常:unable to find valid certification path to requested target
- unable to find valid certification path to requested target'解决办法
- unable to find valid certification path to requested target
- unable to find valid certification path to requested target
- SunCertPathBuilderException: Unable To Find Valid Certification Path To Requested Target
- Unable to find valid certification path to requested target
- SunCertPathBuilderException: unable to find valid certification path to requested target
- unable to find valid certification path to requested target
- 彻底解决unable to find valid certification path to requested target
- 20170704unable to find valid certification path to requested target
- 现https协议的服务异常:'unable to find valid certification path to requested target'
- 访问接口异常unable to find valid certification path to requested target
- 【cas、tomcat】SunCertPathBuilderException: unable to find valid certification path to requested target
- PKIX path building failed: unable to find valid certification path to requested target
- 解决PKIX path building failed的问题unable to find valid certification path to requested target
- 解决方案:PKIX path building failed:unable to find valid certification path to requested target
- No more 'unable to find valid certification path to requested target'
- unable to find valid certification path to requested target 我的解决办法
- android常用工具类 andutils
- HTML特殊转义字符列表
- 关于系统中添加的音视频聊天的二次开发包SDK
- web cache及squid框架介绍
- UML cheatsheat
- tomcat异常:unable to find valid certification path to requested target
- 研发专业用词
- CCNA认证
- LVS-DR工作原理图文详解
- 二叉树以及二叉搜索树的重建
- JS----数子翻译英文
- 基于51单片机的NRF905收发程序
- 解决IE6下DIV无法实现1px高度问题
- file