How to Configure Linux OpenLDAP to Securely Connect to eDirectory
(Last modified: 07Apr2005)
This document (10097214) is provided subject to the disclaimer at the end of this document.
goal
How to Configure OpenLDAP to Securely Connect to eDirectory
fact
OpenLDAP on Linux
OpenSSL on Linux
eDirectory 8.7.x
symptom
error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol
TLS handshake failed on connection 0x86f7528, err = -5875
cause
To use the OpenLDAP client securely on SLES, the eDirectory certificate needs to be exported and the OpenLDAP client needs to be configured to use the new certificate.
fix
Exporting the Certificate:
In iManager, perform the following:
1. Go to eDirectory Administration | Modify Object
Configure the OpenLDAP client to use the certificate:
Run the OpenLDAP client and specify to use SSL. // Simple LDAP bind on clear port 389 (-x is required or SASL bind is attempted) ldapsearch -b o=novell -s sub -h 137.65.87.117 -D cn=admin,o=novell -w novell -p 389 -x -vvv objectclass=* // Same simple LDAP bind with -H (preferred option) instead of -h (deprecated) (-x still required) ldapsearch -b o=novell -s sub -H ldap://137.65.87.117:389 -D cn=admin,o=novell -w novell -x -vvv objectclass=* // Clear LDAP bind on 389 with Start TLS extended operation to use TLS ldapsearch -b o=novell -s sub -H ldap://137.65.87.117:389 -D cn=admin,o=novell -w novell -x -Z -vvv objectclass=* // Direct Secure LDAP bind on port 636 ldapsearch -b o=novell -s sub -H ldaps://137.65.87.117:636 -D cn=admin,o=novell -w novell -x -vvv objectclass=*
The Origin of this information may be internal or external to Novell. Novell makes all reasonable efforts to verify this information. However, the information provided in this document is for your information only. Novell makes no explicit or implied claims to the validity of this information.document
Document Title: How to Configure Linux OpenLDAP to Securely Connect to eDirectory Document ID: 10097214 Solution ID: NOVL101637 Creation Date: 04Apr2005 Modified Date: 07Apr2005 Novell Product Class: novell directory services disclaimer
Any trademarks referenced in this document are the property of their respective owners. Consult your product manuals for complete trademark information.