[IMPORTANT] Please note that this site will be disabled on October 31. In it's place, the new JumpCloud Help Center is live! Check it out here!

Support Center

LDAP: ldapsearch: Can't contact LDAP server (-1)

When your server's CA root certificates do not contain our CA, your ldapsearch will refuse to connect to JumpCloud because it cannot verify that our certificate was created by a trusted third party, giving the following error message:
ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)
When this happens, you may be able to correct it by doing the following:


CentOS/RedHat/Amazon Linux

1. Edit /etc/openldap/ldap.conf

2. Replace any lines that start with "TLS_CACERT" with the following:
TLS_CACERT /etc/ssl/certs/ca-bundle.crt

Ubuntu


1. The following command may correct the issue with Ubuntu:
update-ca-certificates

If neither of these actions address your issue, please contact JumpCloud support at support@jumpcloud.com.
 

Last Updated: Jun 02, 2016 01:44PM MDT

Related Articles
desk-forwarding@jumpcloud.com
http://assets2.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete