fixed setup of ssl ldap connections