Skip to content
This repository has been archived by the owner on Feb 1, 2021. It is now read-only.

TLS support. #160

Merged
merged 1 commit into from
Dec 9, 2014
Merged

TLS support. #160

merged 1 commit into from
Dec 9, 2014

Conversation

aluzzardi
Copy link
Contributor

TLS authentication support between the CLI and Swarm but also between
Swarm and the Docker nodes.

Closes #148

Signed-off-by: Andrea Luzzardi aluzzardi@gmail.com

@cpuguy83
Copy link
Contributor

cpuguy83 commented Dec 9, 2014

Works here. LGTM


flTlsCaCert := cli.StringFlag{
Name: "tlscacert",
Value: "/root/.docker/ca.pem",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you should change /root/ -> $HOME

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In my implementation I opted to not put a default value since this isn't really client code.

TLS authentication support between the CLI and Swarm but also between
Swarm and the Docker nodes.

Closes docker-archive#148.

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
@aluzzardi
Copy link
Contributor Author

Removed default values. PTAL

/cc @vieux

@vieux
Copy link
Contributor

vieux commented Dec 9, 2014

LGTM

vieux added a commit that referenced this pull request Dec 9, 2014
@vieux vieux merged commit c1b6f2f into docker-archive:master Dec 9, 2014
@vieux vieux modified the milestone: Swarm Beta 0.1.0 Jan 19, 2015
@aluzzardi aluzzardi deleted the tls branch January 20, 2015 22:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TLS cert auth (both ends)
3 participants