Connection to ldap server cannot be established : TLS : host

Hi

when i try to connect to the ldap server with out TLS it is working good but with TLS this message came (Connection to ldap server cannot be established : TLS : hostname dose not match CN in peer certificate ).

SO how can fix this problem .

Plz Help me

Thanks.

Hi linuxformat,

Connection to ldap server cannot be established : TLS : hostname dose not match CN in peer certificate
SO how can fix this problem .

configure a certificate within your LDAP server with a DN that matches the host name under which the LDAP server is accessed.

Regards,
Jens