Auth0 AD/LDAP Connector "Error: unable to get local issuer certificate"

Overview

The Auth0 Active Directory/Lightweight Directory Access Protocol (AD/LDAP) Connector fails to connect to the domain controller due to an expired certificate in the /certs folder or interference from a local proxy. Resolve this issue by removing the expired certificates to allow the connector to generate new ones, or by disabling the certificate validation check in the configuration file. The connector experiences connection failures when matching an expired certificate with a certificate on the domain controller or when a proxy intercepts the connection, generating the following error:

 

Error: unable to get local issuer certificate

 

Applies To

  • Auth0
  • AD/LDAP Connector

Cause

The AD/LDAP Connector matches an expired certificate stored in the /certs folder with a certificate on the domain controller. Additionally, a local proxy intercepting the connection causes certificate validation to fail.

Solution

How are new certificates generated for the AD/LDAP Connector?

Remove the existing certificates folder to allow the Auth0 AD/LDAP Connector to generate new certificates.

  1. Navigate to the Auth0 AD/LDAP Connector installation directory.
  2. Delete the /certs folder.
  3. Restart the AD/LDAP Connector to automatically generate a new /certs folder and certificates.

 

Disable the Certificate Validation Check in the Configuration File to Bypass the Error

Disable the certificate validation check by modifying the configuration file and restarting the connector.

  1. Open the config.json file.
  2. Locate the LDAP_TLS_VERIFY_SERVER setting.
  3. Set the value to false.
  4. Save the file and restart the AD/LDAP Connector.

Recommended content

No recommended content found...