The "unable to get issuer certificate" part really means it, and this has been quite a common issue for either LDAPS or STARTTLS, about a missing cert or missing trust flag in the PKI chain of trust of the issuer, and it is usually solved by a "trust anchor" command for the system, or a certutil -A in the LDAP NSS db directory, .
For the operating system point of view with a LDAP client, a"-d 4" added to ldapsearch, or a strace could show in which directory or key store the issuer is not trusted.
Does a "trust anchor some.ca.cert.pem.txt" help?
Thanks,
M.