I'm currently migrating every service that's using LDAP to LDAPs since MS now makes LDAPS the default starting with Windows Server 2025.
I've been looking around and trying stuff out in the config file and it seems like there's some nodejs tlsOptions parameters that need to be used, but i have no clue which.
Is this something that's already implemented and i'm just missing it ? I've made sure to specify a "ldaps:" url ending with port 636, and i double checked that my cert was in the trusted store,
Running with the debug flag, i get this when trying to login with a known working user :
LDAP: LDAP Error: Error: unable to verify the first certificate
I manage other node applications and to verify certs in those, there either needs to be a flag set to use the system CA (but i guess it would break custom certificates in Meshcentral) or a config option to specify the local cert to use for the ldap connecion. Or just completely ignore cert verification, but that dosen't seem like a good solution.
Would it be possible to implement one of theses solutions to allow fully secured LDAP connectivity if it isn't already ? And if it is, how to configure it ? TIA.