Closed enric1994 closed 6 years ago
Have you tried ldapsearch -H ldaps://localhost:636 ???
I have the same problem with the container generated cert.
@enric1994 , maybe it's caused by client cert. Should start container with --env LDAP_TLS_VERIFY_CLIENT=try
Tried @KangpingWANG's and @e-rice's comments but it's still not working properly.
@KangpingWANG 's suggestion solved my issue.
I have an LDAP with the following setup:
I can correctly access ldap (from inside the container) using:
docker exec openldap ldapsearch -x -H ldap://localhost:389 -ZZ -b dc=example,dc=org -D "cn=admin,dc=example,dc=org" -w admin -v -d -1
But when I try to access from outside, I get the following error: