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

Should SSL certs be copied on load? #25

Closed
wrouesnel opened this issue Dec 22, 2015 · 2 comments
Closed

Should SSL certs be copied on load? #25

wrouesnel opened this issue Dec 22, 2015 · 2 comments

Comments

@wrouesnel
Copy link

It's somewhat bad behavior for the container to be chown'ing certificates which are bind mounted into it and doesn't work if read-only binds are used and is worse if the certificates are symlinks (i.e. from Let's Encrypt containers).

It would be better behavior for the container to copy the certificates on boot up and then chown them.

@davemuench
Copy link

I've run into the same problem using LE certs. I spent a while today considering putting a flag into the container to copy the cert from, but we'd also need the ability to do that copy and reload slapd on a regular basis since those certs will eventually change. I don't know how the maintainer feels about adding cron or something like it to the container, so for now I've just put a script together that runs on the host to copy the certs and reload the ldap docker container. Not a good solution but it'll work for now..

osixia pushed a commit that referenced this issue Jan 12, 2016
@osixia
Copy link
Collaborator

osixia commented Jan 25, 2016

Hi,
the latest release makes it possible, can you try to run your container with --copy-service and tell me if it fixes this issue ?

example :

docker run [your options] osixia/openldap:1.1.0 --copy-service

@osixia osixia closed this as completed Mar 20, 2016
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