Can't make LDAPS or STARTT-TLS for LDAP work

Thank you for the answer

It’s owncloud/server:10.4.1

In /etc/openldap/ldap.conf you must:
Either set TLS_CACERT /etc/openldap/cacerts/YOURCERT.pfx
Or set TLS_CACERTDIR /etc/openldap/cacerts/
The first one constrains you to a specific cert.
The latter tries all of them in the directory.

I would recommend to add your certificate to the internal ownCloud certificate storage like so:
Using the occ Command

I will try this method and describe the results, thanks once again)

2 Likes