On 8/25/21 12:46 PM, A. Schulze wrote:
I took over a service using the Perl NET::LDAPapi. Now I fail to establish an LDAPS connection. Does anybody know if that's even supported and if so, how I've to setup that?
What did you try and what failed?
Below here I assume you're probably struggling with cert validation.
Never used NET::LDAPapi myself but AFAICS it's a C module wrapper using libldap. libldap used ldap.conf by default and/or the TLS-related env vars.
Thus I'd experiment by setting env var before starting the process:
LDAPTLS_CACERT=/path/to/trusted-ca-certs.pem
Not sure whether NET::LDAPapi is still maintained though. Probably Quanah knows more about it.
Ciao, Michael.