we currently have a customer who wants to connect his Nexcloud to his Domain Controller via ldaps instead of just unencrypted traffic.
To simulate this, I tried to connect a nextcloud installation to the UCS DC itself in a test installation, which didn’t work.
Essentially what I’ve tried is adding ldaps:// before the DC’s name in the Nextcloud Admin Interface, tried both LDAPS ports avaialable and tried both in conjunction. I always receive an “Internal Server Error” with no logs to check apparently.
The Apache logs are empty and I know of no other logs.
So my questions are: How to I get Nextcloud (13.0.7 in UCS) to work with ldaps with the UCS host as DC?
How do I get that to work with an external DC (I would assume it would be the same way)?
How do I import the DC’s certificate into Nextcloud’s trust store, or does it accept untrusted certificates? After all it’s a Docker container and ultimately ephemeral.
according to the Nextcloud documentation it should work with ldaps://. The Nextcloud knows the CA of UCS, because it is made know to Nextcloud in the app’s join script.
Port and protocol would remain unchanged. LDAPS is depracted in favor of StartTLS, but has the charm of having no initial plain text connection. @gulden opened an issue to get this in by default.