Describe the bug
LDAPS binds fail with ldap.SERVER_DOWN: Can't contact LDAP server, even with a valid, publicly trusted cert (Let's Encrypt).
I have an lldap instance setup with ldaps, but Fireshare can't establish the cert chain.
Setting LDAPTLS_CACERT=/etc/ssl/certs/ca-certificates.crt or LDAPTLS_REQCERT=never "fixes" it, but the error message makes it look like a network/DNS problem instead of a cert problem.
To Reproduce
- Enable LDAP with
LDAP_URL=ldaps://your-ldap-host:636
- Point it at a server with a valid cert (public CA)
- Start the container
- See
ldap.SERVER_DOWN: Can't contact LDAP server on startup, even though the LDAP server is reachable and the cert is fine
Expected behavior
- The log/error message should reflect a certificate issue in this case.
- Fireshare should trust the system's CA bundle (already present in the image via
ca-certificates) by default for LDAPS connections, the same way tools like curl do automatically.
Or the LDAP documentation should reflect this.
Additional context
Side note: LDAP_ENABLE=false doesn't actually disable LDAP. Only leaving the var completely unset disables it.
Describe the bug
LDAPS binds fail with
ldap.SERVER_DOWN: Can't contact LDAP server, even with a valid, publicly trusted cert (Let's Encrypt).I have an lldap instance setup with ldaps, but Fireshare can't establish the cert chain.
Setting
LDAPTLS_CACERT=/etc/ssl/certs/ca-certificates.crtorLDAPTLS_REQCERT=never"fixes" it, but the error message makes it look like a network/DNS problem instead of a cert problem.To Reproduce
LDAP_URL=ldaps://your-ldap-host:636ldap.SERVER_DOWN: Can't contact LDAP serveron startup, even though the LDAP server is reachable and the cert is fineExpected behavior
ca-certificates) by default for LDAPS connections, the same way tools likecurldo automatically.Or the LDAP documentation should reflect this.
Additional context
Side note:
LDAP_ENABLE=falsedoesn't actually disable LDAP. Only leaving the var completely unset disables it.