sun.jndi.ldap.connect.timeout environment variable does not seem to be compatible with LDAP connections over SSL.