Skip to content

how can i use ssl? #16

Open
Open
@arnold-personal

Description

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions