Cindy Hayes schrieb:
[...]
> I am getting the following error:
> 
> ldap_bind: Can't contact LDAP server (-1)
>         additional info: TLS: hostname does not match CN in peer
> certificate
It is a precise and helpful description. You did "ldapsearch -x", so you
did not specify a hostname, so the hostname is taken from the
defaultconfig, which is "hostname.company.com". However, the certificate
includes the hostname it should certify (otherwise, what would be the
point in using a certificate anyway?). This hostname differs from
"hostname.company.com", so the ldapclient (correctly) refuses to
establish a connection.
Assign a new certificate for the correct hostname. Or if your
ldap-server has several names, use the correct one.

-- 
CU,
   Patrick.

---
You are currently subscribed to [email protected] as: [EMAIL PROTECTED]
To unsubscribe send email to [EMAIL PROTECTED] with the word UNSUBSCRIBE as the 
SUBJECT of the message.

Reply via email to