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

Re: StartTLS URL extension

William A. Rowe, Jr. wrote:
Howard Chu wrote:
We really ought to have a way to allow clients to make libldap use
StartTLS without having to code their own calls into libldap for that
purpose. I think it would be useful to allow specifying StartTLS in the
extension field of the LDAP URL. Then at least it can be configured into
ldap.conf forgotten about.

The code for ldap_initialize() should look for the URL extension field,
and act on it if StartTLS / is present.

Any comments?

What would be the syntax and mechanism for defining client certificates or permitted server CA chains?

The same as currently exists. None of those details are parameters of the actual StartTLS exop so they're not relevant to this discussion.

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