From 70ab34cfb849d4848272502318ff0bd01ab6fd24 Mon Sep 17 00:00:00 2001 From: bitsofinfo Date: Tue, 18 Jul 2017 09:22:08 -0600 Subject: [PATCH] doc change regarding consul SSL document change to clarify consul ssl, vs consul ssl client certificate security --- docs/user-guide/kv-config.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/user-guide/kv-config.md b/docs/user-guide/kv-config.md index dc77c28e6..b62578523 100644 --- a/docs/user-guide/kv-config.md +++ b/docs/user-guide/kv-config.md @@ -145,7 +145,13 @@ If Traefik is launched into a Docker container, the variable `CONSUL_HTTP_TOKEN` ## TLS support -So far, only [Consul](https://consul.io) and [etcd](https://coreos.com/etcd/) support TLS connections. +To connect to a Consul endpoint using SSL, simply specify `https://` in the `consul.endpoint` property + +- `--consul.endpoint=https://[consul-host]:[consul-ssl-port]` + +## TLS support with client certificates + +So far, only [Consul](https://consul.io) and [etcd](https://coreos.com/etcd/) support TLS connections with client certificates. To set it up, we should enable [consul security](https://www.consul.io/docs/internals/security.html) (or [etcd security](https://coreos.com/etcd/docs/latest/security.html)). Then, we have to provide CA, Cert and Key to Træfik using `consul` flags :