本文介绍: 怀疑证书无效或者过期,去到应用服务器检查证书有效期,果然是证书过期

部署系统抛出异常

org.apache.directory.ldap.client.api.exception.InvalidConnectionException: SSL handshake failed.
    at org.apache.directory.ldap.client.api.LdapNetworkConnection.writeRequest(LdapNetworkConnection.java:4190) ~[?:?]
    at org.apache.directory.ldap.client.api.LdapNetworkConnection.bindAsync(LdapNetworkConnection.java:1314) ~[?:?]
    at org.apache.directory.ldap.client.api.LdapNetworkConnection.bind(LdapNetworkConnection.java:1212) ~[?:?]
    at org.apache.directory.ldap.client.api.AbstractLdapConnection.bind(AbstractLdapConnection.java:127) ~[?:?]
    at org.apache.directory.ldap.client.api.AbstractLdapConnection.bind(AbstractLdapConnection.java:112) ~[?:?]
 

 怀疑证书无效或者过期,去到应用服务器检查证书有效期,果然是证书过期

$ openssl x509 -noout -dates -in ca.txt
notBefore=Mar 10 12:00:00 2018 GMT
notAfter=Mar 10 12:00:00 2023 GMT

解决方案

重新生成证书后部署

原文地址:https://blog.csdn.net/csgeorge2016/article/details/129488931

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任

如若转载,请注明出处:http://www.7code.cn/show_29064.html

如若内容造成侵权/违法违规/事实不符,请联系代码007邮箱suwngjj01@126.com进行投诉反馈,一经查实,立即删除

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注