![](/img/trans.png)
[英]javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated in Tomcat with Apache HttpClient
[英]tomcat6 apache cxf javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
我在ubuntu 12.04上使用java 7和tomcat 6的Web应用程序。 它使用apache cxf通过https对其他服务器上的Web服务进行REST调用。 一直运行良好,直到今天上午11点左右。 然后对于每个REST调用(无论是GET还是POST),我都会收到
javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
Caused by: 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 errors in catalina.out.
证书在
jdk/jre/lib/security/cacerts
并且直到2018年才到期。当我重新启动tomcat时,程序运行正常。
知道会触发什么吗?
提前致谢
兰迪
如果您完全确定这不是服务证书的有效期问题,请检查以下几种情况:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.