On Wednesday 15 February 2006 15:40, Jon Roberts wrote:Quanah Gibson-Mount wrote:You have to use the name in your search that matches the name in the certificate for TLS to work.
In JLDAP clients I can connect to a remote ldaps server by using the ip address as hostname, even though I obviously did not use the ip as the name in the certificate. Is that advice specific to ldapsearch, StartTLS, or something else I might be confused about?
I'm guessing that JLDAP translates the IP address to the FQDN.
Which is counter to both general and LDAP-specific TLS certificate verification rules. One shouldn't trust DNS. Sounds like a JLDAP bug to me.
Jon Roberts www.mentata.com