From 361db8ebcfbea63948b6d402357b7128310cfd0a 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 4e2ecb303..15bd9a4f7 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 934d4e44775de69ac6e54b1c6bd200b979256152 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 15bd9a4f7..cf14e5bb0 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