From f132d0e1e1b089ca3e8eb11e334da0bce277b703 Mon Sep 17 00:00:00 2001 From: Geoffrey Grosenbach Date: Fri, 6 Jul 2018 12:26:15 -0700 Subject: [PATCH 1/2] Note that `-dev` generates certs for Connect. Previous version of the documentation didn't mention this, which can lead to confusion when experimenting with Connect. Many other features of Consul work fine without `-dev` mode, but Connect needs certs in order to proxy, which must be done with this flag or by generating certs directly and passing them to Consul in configs. --- website/source/docs/agent/options.html.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/website/source/docs/agent/options.html.md b/website/source/docs/agent/options.html.md index 4e2ecb3033..15bd9a4f72 100644 --- a/website/source/docs/agent/options.html.md +++ b/website/source/docs/agent/options.html.md @@ -172,7 +172,8 @@ will exit with an error at startup. * `-dev` - Enable development server mode. This is useful for quickly starting a Consul agent with all persistence options turned off, enabling an in-memory server which can be used for rapid - prototyping or developing against the API. This mode is **not** intended for + prototyping or developing against the API. In this mode, Consul will also + generate its own certs for Connect. This mode is **not** intended for production use as it does not write any data to disk. * `-disable-host-node-id` - Setting From d44f35aa4ebec6a1da923d05966f2d2e1d5d2b9d Mon Sep 17 00:00:00 2001 From: Geoffrey Grosenbach Date: Mon, 16 Jul 2018 14:53:46 -0700 Subject: [PATCH 2/2] Clarify Connect-related implications for `-dev` flag --- website/source/docs/agent/options.html.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/website/source/docs/agent/options.html.md b/website/source/docs/agent/options.html.md index 15bd9a4f72..cf14e5bb04 100644 --- a/website/source/docs/agent/options.html.md +++ b/website/source/docs/agent/options.html.md @@ -172,8 +172,9 @@ will exit with an error at startup. * `-dev` - Enable development server mode. This is useful for quickly starting a Consul agent with all persistence options turned off, enabling an in-memory server which can be used for rapid - prototyping or developing against the API. In this mode, Consul will also - generate its own certs for Connect. This mode is **not** intended for + prototyping or developing against the API. In this mode, + [Connect is enabled](/docs/connect/configuration.html) and will by default + create a new root CA certificate on startup. This mode is **not** intended for production use as it does not write any data to disk. * `-disable-host-node-id` - Setting