Skip to content

Commit 585a6e3

Browse files
author
Alessio Treglia
committed
disable TLS flag by default
Really closes: #3465
1 parent c766993 commit 585a6e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/flags.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ func PostCommands(cmds ...*cobra.Command) []*cobra.Command {
105105
func RegisterRestServerFlags(cmd *cobra.Command) *cobra.Command {
106106
cmd = GetCommands(cmd)[0]
107107
cmd.Flags().String(FlagListenAddr, "tcp://localhost:1317", "The address for the server to listen on")
108-
cmd.Flags().Bool(FlagTLS, true, "Enable SSL/TLS layer")
108+
cmd.Flags().Bool(FlagTLS, false, "Enable SSL/TLS layer")
109109
cmd.Flags().String(FlagSSLHosts, "", "Comma-separated hostnames and IPs to generate a certificate for")
110110
cmd.Flags().String(FlagSSLCertFile, "", "Path to a SSL certificate file. If not supplied, a self-signed certificate will be generated.")
111111
cmd.Flags().String(FlagSSLKeyFile, "", "Path to a key file; ignored if a certificate file is not supplied.")

0 commit comments

Comments
 (0)