gregtwallace
You are correct. It seems that the problem was in the olcTLSCACertificateFile. I used certchain.pem there but then it couldn't find the issuer certificate according to the error message below.
TLS certificate verification: Error, unable to get local issuer certificate
2025-01-09T07:06:45.657759058Z 677f7585.27329895 0x7f03de43e700 TLS: can't connect: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed (unable to get local issuer certificate).
I then used the ca-certificates.crt that I found in the system there instead and then it started to work. That file contains the necessary CA issuer certificate.