nginxinc / nginx-ldap-auth

Example of LDAP authentication using ngx_http_auth_request_module
BSD 2-Clause "Simplified" License
678 stars 202 forks source link

Unable to initiate TLS with LDAP site server #100

Open bencoffey66 opened 1 year ago

bencoffey66 commented 1 year ago

I currently am getting the below error from LDAP-auth:

ldap.SERVER_DOWN: {'result': -1, 'desc': "Can't contact LDAP server", 'errno': 22, 'ctrls : [], 'info': 'Invalid Argument'}

It appears to traceback to the functions that initiate tls.

I have the start TLS header set to true, and the server address in the correct format [ldap:.]

Are there any other logs I could look through for this issue? Is there anyway to add an organizational root CA to the trusted store of the container? Looking for options. I've already ruled out firewall and DNS related issues.

Traceback: Line 234 in do_GET Line 643 in start_tls_s Line 128 in _ldap_call