-
Notifications
You must be signed in to change notification settings - Fork 125
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
Support for multiple TLS certs? #251
Comments
You should be able to set the certs on a per-service basis using the labels |
Thanks. So when you say "location of the certs", what does that mean? That they should be in my service container, or the interlock container? Or in some directory on the host mounted by the interlock container? Should it be a full path? The example just gives a filename. I also notice that the swarm example defines the certs as being in Actually, my swarm nodes don't share any filesystems (yet) so I will probably have to bake an image (stored in a private image registry) that contains my certs. Sorry for all the questions, but my main one is: what should be the value of the |
If I remember right, you want the volume to be mapped for the nginx container. You could use swarm secrets and give it the full path to the secret (been a while since I've used Swarm so the paths escape me where those get mounted to) or you could do a bind mount for the nginx container such as
Unfortunately I don't have any older examples that use TLS. |
Thx @mbentley for the help! Here is an example run that I had from a demo config for SSL:
|
Hello,
Does interlock support multiple sets of TLS certs/keys? In the documentation/examples I have seen, it appears not.
I want to use interlock on a docker swarm cluster to serve apps with hostnames e.g. *.example1.com and *.example2.com. I have two sets of wildcard SSL certs/keys, one for each TLD. Is it possible to tell interlock to use one key/cert for *.example1.com and a different one for *.example2.com?
The text was updated successfully, but these errors were encountered: