[英]tomcat6 apache cxf javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
I have a web application using java 7 and tomcat 6 on ubuntu 12.04. 我在ubuntu 12.04上使用java 7和tomcat 6的Web应用程序。 It uses apache cxf to make REST calls to a web service on a different server over https.
它使用apache cxf通过https对其他服务器上的Web服务进行REST调用。 It has been working fine until about 11am today.
一直运行良好,直到今天上午11点左右。 Then for each REST call whether GET or POST, I receive
然后对于每个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.
The certificate is in the 证书在
jdk/jre/lib/security/cacerts
and does not expire until 2018. When I restart tomcat the program runs fine. 并且直到2018年才到期。当我重新启动tomcat时,程序运行正常。
Any idea what would trigger this? 知道会触发什么吗?
Thanks in advance 提前致谢
Randy 兰迪
If you are entirely certain that this is not a validity period problem with the service's certificate, here are some more situations to check for: 如果您完全确定这不是服务证书的有效期问题,请检查以下几种情况:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.