我正在尝试验证我的 LDAP 服务器是否具有正确的 TLS 证书。
我去了一个远程盒子并输入:
openssl s_client -connect host:389 -showcerts -state
而我得到的答复是:
CONNECTED(00000003)
SSL_connect:before/connect initialization
SSL_connect:SSLv2/v3 write client hello A
140319263606600:error:140790E5:SSL routines:SSL23_WRITE:ssl handshake f failure:s23_lib.c:184:
---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 0 bytes and written 112 bytes
---
New, (NONE), Cipher is (NONE)
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
似乎我没有配置 certs 属性,但是当我键入此命令时
ldapsearch -d -1 -x -LLL -ZZ
它似乎喜欢我的 tls,我很困惑,有人可以澄清一下吗?