Error: Bad LDAP server certificate - TLS fatal: unknown CA
03/26/2020 18 15900
DESCRIPTION: Error: Bad LDAP server certificate - TLS fatal: unknown CA
The error, Error: Bad LDAP server certificate - TLS fatal: unknown CA, is displayed in the LDAP configuration window when attempting to configure LDAP over TLS. You may also get the error - LDAP communication error - error:14090086:lib(20):func(144):reason(134) (unable to get local issuer certificate); TLS fatal: unknown CA
When Require valid certificate from server is checked in the LDAP Configuration window, the Name or IP address field must match the Common Name (CN) of the certificate presented by the LDAP server. This error occurs when the SonicWall is not able to recognize the CA of the certificate presented by the server.
Resolution or Workaround:
In most cases the certificate presented by the server will be a self-signed certificate in which case this error will not occur. However, if the certificate is issued by a CA, the CA certificate needs to be imported into the SonicWall.