Supporting LDAP TLS

when using ldap authentication and config with
$config[‘auth_ldap_server’] = ‘ldaps://’

Which certificate libreNMS use to authenticate to LDAP server ? is the certificate configured in Nginx/Apache server ?

Hi @jhfeng,

PHP will use the open ldap configuration, which can be found in /etc/ldap or /etc/openldap depending on the distro.

However, it is best practice to use starttls instead of ldaps, more details can be seen here how to configure…
https://docs.librenms.org/Extensions/Authentication/#ldap-authentication

$config['auth_ldap_starttls'] = True;