Fix LDAP SSL errors