Skip to content

Commit e359f3c

Browse files
authored
fix: change TLS client auth default to "none" (coder#5468)
1 parent dc6d271 commit e359f3c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cli/deployment/config.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ func newConfig() *codersdk.DeploymentConfig {
303303
Name: "TLS Client Auth",
304304
Usage: "Policy the server will follow for TLS Client Authentication. Accepted values are \"none\", \"request\", \"require-any\", \"verify-if-given\", or \"require-and-verify\".",
305305
Flag: "tls-client-auth",
306-
Default: "request",
306+
Default: "none",
307307
},
308308
KeyFiles: &codersdk.DeploymentConfigField[[]string]{
309309
Name: "TLS Key Files",

cli/testdata/coder_server_--help.golden

+1-1
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ Flags:
198198
"verify-if-given", or
199199
"require-and-verify".
200200
Consumes $CODER_TLS_CLIENT_AUTH (default
201-
"request")
201+
"none")
202202
--tls-client-ca-file string PEM-encoded Certificate Authority file
203203
used for checking the authenticity of
204204
client

0 commit comments

Comments
 (0)