Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker LDAP TLS certificate not found #656

Open
awen112 opened this issue Mar 24, 2023 · 1 comment
Open

Docker LDAP TLS certificate not found #656

awen112 opened this issue Mar 24, 2023 · 1 comment

Comments

@awen112
Copy link

awen112 commented Mar 24, 2023

Installed OpenLDAP using the command '
docker run -p 389:389 -p 636:636
--volume /Users/king:/container/service/slapd/assets/certs
--env LDAP_DOMAIN="ldap.com"
--env LDAP_ADMIN_PASSWORD="pasword"
--env LDAP_TLS_CRT_FILENAME=server. crt
--env LDAP_TLS_KEY_FILENAME=server. key
--env LDAP_TLS_CA_CRT_FILENAME=ca. crt
--detach osixia/openldap:1.5.0 --loglevel error'. When attempting to connect to it using Spring LDAP, received the error message 'TLS: can't accept: No certificate was found.. 641dd069 conn=1000 fd=12 closed (TLS negotiation failure),How can we resolve this?

@sanjeewa894
Copy link

run with --env LDAP_TLS_VERIFY_CLIENT=try. For self signed certificates, it fails to connect from the outside.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants