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

how can i use ssl? #16

Open
arnold-personal opened this issue Nov 9, 2016 · 0 comments
Open

how can i use ssl? #16

arnold-personal opened this issue Nov 9, 2016 · 0 comments

Comments

@arnold-personal
Copy link

arnold-personal commented Nov 9, 2016

thanks for your source.

i have a question about using ssl.

i did below:

//Dockerfiles: insert my cert informations
FROM dinkel/openldap:latest

RUN
echo TLSCertificateFile /certs/server.crt >> /usr/share/slapd/slapd.conf &&
echo TLSCertificateKeyFile /certs/server.key >> /usr/share/slapd/slapd.conf

//docker run: ldap & ssl
$ docker run -d -p 389:389 -p 636:636 --name openldap -e SLAPD_PASSWORD=password -e SLAPD_DOMAIN=mydomain.com name/openldap slapd -h "ldap:/// ldaps:///" -d 32768 -u openldap -g openldap

after apt-get install openssl
$ openssl s_client -connect localhost:636

i could not get correct result about certification

Q: is there any action needed for ssl working, something like modify configure file?

regards.

-> resloved this issue, using osixia/openldap

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

1 participant