简体   繁体   English

tomcat6 apache cxf javax.net.ssl.SSLPeerUnverifiedException:对等方未通过身份验证

[英]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: 如果您完全确定这不是服务证书的有效期问题,请检查以下几种情况:

  1. The certificate on the service side was changed so the one in cacerts is now not doing anything 服务端的证书已更改,因此cacerts中的证书现在不执行任何操作
  2. The certificate you installed was the a system's certificate and you are now connecting to a different node due to load balancing (if so, you would need an intermediate or CA cert) 您安装的证书是系统的证书,由于负载平衡,您现在正在连接到其他节点(如果是,则需要中间证书或CA证书)
  3. The service requires Mutual TLS (aka 2-way SSL) and the certificate on your side is now missing or invalid 该服务需要相互TLS(也称为2向SSL),并且您身边的证书现在丢失或无效
  4. A host name has changed such that the certificate(s) are no longer valid 主机名已更改,因此证书不再有效
  5. Some software or configuration file has changed and now the client and service do not have SSL/TLS versions in common. 某些软件或配置文件已更改,现在客户端和服务没有通用的SSL / TLS版本。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 javax.net.ssl.SSLPeerUnverifiedException:未在Tomcat中使用Apache HttpClient对等体进行身份验证 - javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated in Tomcat with Apache HttpClient Apache HttpClient错误:javax.net.ssl.SSLPeerUnverifiedException:对等方未通过身份验证 - Apache HttpClient Error: javax.net.ssl.SSLPeerUnverifiedException: Peer Not Authenticated Java 8 javax.net.ssl.SSLPeerUnverifiedException:peer未经过身份验证,但不是Java 7 - Java 8 javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated, but not Java 7 javax.net.ssl.SSLPeerUnverifiedException:在netbeans中未对等身份验证 - javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated in netbeans JDK 11. javax.net.ssl.SSLPeerUnverifiedException:对等方未通过身份验证 - JDK 11. javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated Java - javax.net.ssl.SSLPeerUnverifiedException:peer未经过身份验证 - Java - javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated 异常:javax.net.ssl.SSLPeerUnverifiedException:对等端未经过身份验证 - Exception : javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated javax.net.ssl.SSLPeerUnverifiedException:仅在生产服务器上未对等身份验证 - javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated only on production server 如何使用Java解决Rally Rest api中的javax.net.ssl.SSLPeerUnverifiedException:对等体未通过身份验证的异常? - How to solve javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated Exception in Rally Rest api using java? javax.net.ssl.SSLPeerUnverifiedException:对等方未在jdk7中进行身份验证,但未在jdk8中进行身份验证 - javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated in jdk7 but not in jdk8
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM