Secure Socket Layer (SSL) support

The LDAP API is extended to support connections that are protected by the SSL protocol.

This connection can be used to provide the following mechanisms:

  • Strong authentication between the client and server
  • Data encryption of LDAP messages that flow between the client and the LDAP server

The ldap_ssl_client_init() and ldap_ssl_init() APIs are provided to initialize the SSL function, and to create a secure SSL connection.