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 / 1.3.6.1.4.1.1466.20037 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.