I've used a nodejs module called bluepages that internally uses ldapjs for LDAP based authentication.
I checked the code and found that it was connecting on ldap://ldap-domain.com
from which I figured it was insecure.
I modified it to the following ldaps://ldap-domain.com:636
. Whether this will ensure the connection is secure is something I'm not sure about. Do I need to provide additional params?
I was told that certificates have to be imported, etc to ensure a secure connection.If thats the case how do I do so?