The error, LDAP communication error - TLS: hostname does not match CN in peer certificate, is displayed in the LDAP configuration window when attempting to configure LDAP over TLS.
Â
Â
Resolution or Workaround:
Â
Enter the exact name as the CN of the certificate presented by the server.
Uncheck the option Require valid certificate from server. Deselecting this default option will present an alert, but exchanges between the SonicWall and the LDAP server will still use TLS.
A related error is - Error: Bad LDAP server certificate - TLS fatal: unknown CA.