-
Notifications
You must be signed in to change notification settings - Fork 5
Using LDAPS with docker image from dockerhub
drlight17 edited this page Feb 18, 2025
·
1 revision
If you don't want to build your own image to use LDAPS with own CA TLS certificate you may use your host's system ca-certificates.crt mounted in container. Make sure that your CA TLS certificate is already in ca-certificates.crt (usage of utilities like debian's update-ca-certificates
is googleable).
Just add the following in volumes
section of docker-compose.yaml
:
services:
mlp:
#...
volumes:
#...
- type: bind
source: /etc/ssl/certs/ca-certificates.crt
target: /etc/ssl/certs/ca-certificates.crt
#...
Now you can edit your LDAP_CONNECT
in .env file to use ldaps like ldaps://dc.example.com:636
Then do docker-compose down && docker-compose up -d
. And check ldap auth.