AnsweredAssumed Answered

PHP - LDAP - connect over SSL - Authentication Fail

Question asked by Alpesh Savaliya on Sep 13, 2015
Latest reply on Jan 4, 2017 by Matt Marum
Hi Forum,

We have many instance of SugarCRM CE 6.5 running on server for different clients. We have configured LDAP authentication. One client required to use LDAP over SSL. So for this specific requirement we enforce certificate via PHP code. But it throw error when we do ldap_bind after successful ldap_connect in PHP.

Error : Can't contact LDAP server

Code :

putenv('LDAPTLS_CACERT=./ca.pem');

Location of ca.pem is : etc/httpd/conf/ssl.crt/ca.pem

Please advice.

Environment : CentOS 6.6, Apache, SugarCRM CE 6.5

Thanks.

Outcomes