Greetings,

I'm currently setting up authentication on ESPO CRM (hosted a Linux VM). So far I have been successful in setting up LDAP authentication where I was required to:
  • Install the package php-ldap
  • Create a service account (e.g. espo-user) and entered all the correct parameters such as host details, port and Full User DN
  • Confirmed a connection works with the Test Connection button
However I need a bit of guidance in configuring LDAPS. I've ensured that LDAPS has been correctly confirged (outside of the ESPO CRM setup)

The error I get is: Error 500: 0x5b (Connect error; (unknown error code)): sys-ad1.hostname.net:389
  • Do I need to specify the port as 636 with security set to SSL ?
  • .. or port 389 with security set to SSL ?
I suspect I also need to load the correspondiing certificate somewhere, perhaps in /etc/ssl/certs

I wasn't able to find any specific information on setting up LDAPS. I did find the following LDAP documentation: