Dex with LDAP giving internal server error

You probably need to add the CA to the trust store like in this topic.