Skip to content

Commit 7ce9398

Browse files
authored
[DOCS] Fix client_authentication setting default (#73743)
The value of `*.ssl.client_authentication` is `required` for everything except `xpack.security.http.ssl.client_authentication`, for which is it `none`. The doc template for this setting was configured to have a default value, and allow an override. However, the default was set to `none` when it should have been `required`. The override for `http` was correctly set to `none` (but that didn't really do anything, since that was the same as the default). This commit changes the default to `required`, which matches the code (see `XPackSettings.CLIENT_AUTH_DEFAULT`), and leaves the override for http as `none` (see `XPackSettings.HTTP_CLIENT_AUTH_DEFAULT`).
1 parent f2f1867 commit 7ce9398

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/reference/settings/ssl-settings.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ from client connections. Valid values are `required`, `optional`, and `none`.
1919
`required` forces a client to present a certificate, while `optional`
2020
requests a client certificate but the client is not required to present one.
2121
ifndef::client-auth-default[]
22-
Defaults to `none`.
22+
Defaults to `required`.
2323
endif::client-auth-default[]
2424
ifdef::client-auth-default[]
2525
Defaults to +{client-auth-default}+.

0 commit comments

Comments
 (0)