TLS controls for the LDAP connection

The LDAP connection now supports using a custom CA certificate chain or
skipping all TLS certificate checks.
This commit is contained in:
Emmanuel BENOîT 2021-02-08 23:23:16 +01:00
parent 12634b9ffa
commit 842a4be87e
3 changed files with 49 additions and 25 deletions

View file

@ -17,6 +17,9 @@ ldap:
# connection. Defaults to "no".
tls: yes
# Skip server certificate check. Defaults to false.
tls_skip_verify: false
# CA certificate chain. Can be omitted if the systems' trusted CAs must be
# used, or if no TLS is being used.
cachain: /path/to/ca/chain.pem