Expose ssl context config options for LDAP connections
We're using the gitlab enterprise edition with an old LDAP server that only supports TLSv1.0 and is using a self-signed server certificate. Recent versions of the OpenSSL library only support TLSv1.1 or greater by default.
Not using SSL here is out of question, because we don't want to expose LDAP passwords. To use SSL, we must pass configuration options to the SSL context to enable TLSv1.0, and to make our CA known to the SSL context.
Could you please expose a config option that can be used to pass SSL context parameters for an LDAP connection?
(This has also been found in gitlab-ce#13669 (closed).)