From 585a6e3b5b961a17a2ec1c9c10906c8830d02277 Mon Sep 17 00:00:00 2001 From: Alessio Treglia Date: Mon, 4 Feb 2019 12:14:00 -0800 Subject: [PATCH] disable TLS flag by default Really closes: #3465 --- client/flags.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/flags.go b/client/flags.go index c76bbb3c7cbe..31feacf6cdc4 100644 --- a/client/flags.go +++ b/client/flags.go @@ -105,7 +105,7 @@ func PostCommands(cmds ...*cobra.Command) []*cobra.Command { func RegisterRestServerFlags(cmd *cobra.Command) *cobra.Command { cmd = GetCommands(cmd)[0] cmd.Flags().String(FlagListenAddr, "tcp://localhost:1317", "The address for the server to listen on") - cmd.Flags().Bool(FlagTLS, true, "Enable SSL/TLS layer") + cmd.Flags().Bool(FlagTLS, false, "Enable SSL/TLS layer") cmd.Flags().String(FlagSSLHosts, "", "Comma-separated hostnames and IPs to generate a certificate for") cmd.Flags().String(FlagSSLCertFile, "", "Path to a SSL certificate file. If not supplied, a self-signed certificate will be generated.") cmd.Flags().String(FlagSSLKeyFile, "", "Path to a key file; ignored if a certificate file is not supplied.")