[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: LDAPS queries in C/C++ - conceptual question



Robert Welz wrote:
Hello,

I was asked to expand some C++ software to do ldap queries with TLS on a
server with SSL certificate.
We want the server to authenticate by its certificate so our software is
protected from fake servers.

Before I dig too deep into the API,

You should think about what you're asking for. This is such a common use case that it is already fully supported. Just read the docs.

http://www.openldap.org/doc/admin24/tls.html

--
  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/