Ldap uses ssl connection-Linux Enterprise Application-Linux server application information. For more information, see the following section. [I = s] This post was last edited by shengxijoy
I use client for verification
Openssl s_client-connect ldapserver: 636-showcerts-state-CAfile/etc/openldap/cacerts/cacert. pem
It has passed.
CONNECTED (1, 00000003)
---
No client certificate CA names sent
---
SSL handshake has read 1527 bytes and written 325 bytes
---
New, TLSv1/SSLv3, Cipher is AES256-SHA
Server public key is 1024 bit
Secure Renegotiation IS supported
Compression: NONE
Expansion: NONE
SSL-Session:
Protocol: TLSv1
Cipher: AES256-SHA
Session-ID: Success
Session-ID-ctx:
Master-Key: slave
Key-Arg: None
Starting Time: 1314883834
Timeout: 300 (sec)
Verify return code: 0 (OK)
---
Ldapsearch-x-H ldaps: // ldapserver also returns a success response.
However, it is always difficult to use ldap for system user authentication. For example, if su-user1 does not respond for half a day, the log is as follows:
Sep 1 21:31:15 ldapserver slapd [13417]: conn = 1163 fd = 18 ACCEPT from IP = 192.168.10.6: 42095 (IP = 0.0.0.0: 636)
Sep 1 21:31:15 ldapserver slapd [13417]: conn = 1163 fd = 18 TLS established tls_ssf = 256 ssf = 256
Sep 1 21:31:15 ldapserver slapd [13417]: conn = 1163 op = 0 EXT oid = 1.3.6.1.4.1.1466.20037
Sep 1 21:31:15 ldapserver slapd [13417]: conn = 1163 op = 0 STARTTLS
Sep 1 21:31:15 ldapserver slapd [13417]: conn = 1163 op = 0 RESULT oid = err = 1 text = TLS already started
Sep 1 21:31:15 ldapserver slapd [13417]: conn = 1163 op = 1 UNBIND
Sep 1 21:31:15 ldapserver slapd [13417]: conn = 1163 fd = 18 closed
I don't know why.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service