Owncloud LDAPS error

we use owncloud 10.4.1 and I wanted to active LDAP Authentication which works on Port tcp/389 (ldap); However with ldaps (tcp(636) and firewall rule was generated) I can’t connect to the BASE-DN. I get the message, that the BASE-DN or the account seems to be wrong.

Does anybody know what I have to look for?

Thanks for any help.

Hello test 723,

I don’t know which distribution you have, but basically, you need to import your Root CA/PDC Certificates in your distribution.

Import the certificates into the ownCloud as well and verify the connection.

I recommend as well to take a look into the ownCloud logs, there you will find much more information about where the problem is. The logfile is located normally in /var/www/owncloud/data/owncloud.log

have fun!
Erwin Palma.

1 Like

Hello Erwin,
thanks for the reply.
So I have only to copy the whole certificate chain from the DC (incl. the root certificate) into /etc/ssl/certs/? Is this correct?

By the way it is an Ubuntu 18.04 distribution.

Hi @test723

I found this information, :slight_smile:

Have fun!
Erwin Palma


Thank you very much. It works now.

I had to do the following things:

  • create an directory “certs” under /etc/ldap/
  • copy the certificate under the folder “certs”
  • copy the certs unter /usr/local/share/ca-certificates/
  • update the CA store: sudo update-ca-certificates

I am glad that your scenario is working!

have fun!
Erwin Palma

1 Like