NextGen Knowledge Center

LDAP Connection Error: "An error occurred while attempting to establish a secure connection"

The LDAP connection error "An error occurred while attempting to establish a secure connection" can result from an incorrect port number, an untrusted server certificate, or a missing server certificate.

Ensure that the port number is correct. Lightweight Directory Access Protocol (LDAP) servers typically use port 389 for unencrypted communication or the STARTTLS mode and port 636 for the SSL mode.

Ensure that you have imported the LDAP server certificate. This error can occur if you have enabled SSL or STARTTLS but have not yet imported the LDAP server certificate using the SSL Manager plug-in for Mirth® Connect by NextGen Healthcare.

Ensure that the LDAP server certificate is trusted.