Skip to content

Commit

Permalink
Added note that --trusted-ca-file also enables client cert authentica…
Browse files Browse the repository at this point in the history
…tion

Co-authored-by: James Blair <mail@jamesblair.net>

Signed-off-by: = <abby.crimlis@outlook.com>
  • Loading branch information
iiamabby committed Sep 29, 2023
1 parent 1c5cf07 commit a412dd6
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions content/en/docs/v3.4/op-guide/configuration.md
Expand Up @@ -291,6 +291,7 @@ The security flags help to [build a secure etcd cluster][security].
+ Path to the client server TLS trusted CA cert file.
+ default: ""
+ env variable: ETCD_TRUSTED_CA_FILE
+ Note setting this parameter will also automatically enable client cert authentication no matter what value is set for `--client-cert-auth`.

### --auto-tls
+ Client TLS using generated certificates
Expand Down
2 changes: 2 additions & 0 deletions content/en/docs/v3.4/upgrades/upgrade_3_4.md
Expand Up @@ -56,6 +56,8 @@ Other HTTP APIs will still work (e.g. `[CLIENT-URL]/metrics`, `[CLIENT-URL]/heal

`--ca-file` and `--peer-ca-file` flags are deprecated; they have been deprecated since v2.1.

Note setting this parameter will also automatically enable client cert authentication no matter what value is set for `--client-cert-auth`.

```diff
-etcd --ca-file ca-client.crt
+etcd --trusted-ca-file ca-client.crt
Expand Down
1 change: 1 addition & 0 deletions content/en/docs/v3.5/op-guide/configuration.md
Expand Up @@ -140,6 +140,7 @@ The list of flags provided below may not be up-to-date due to ongoing developmen
Allowed TLS hostname for client cert authentication.
--trusted-ca-file ''
Path to the client server TLS trusted CA cert file.
Note setting this parameter will also automatically enable client cert authentication no matter what value is set for `--client-cert-auth`.
--auto-tls 'false'
Client TLS using generated certificates.
--peer-cert-file ''
Expand Down
2 changes: 2 additions & 0 deletions content/en/docs/v3.5/upgrades/upgrade_3_4.md
Expand Up @@ -56,6 +56,8 @@ Other HTTP APIs will still work (e.g. `[CLIENT-URL]/metrics`, `[CLIENT-URL]/heal

`--ca-file` and `--peer-ca-file` flags are deprecated; they have been deprecated since v2.1.

Note setting this parameter will also automatically enable client cert authentication no matter what value is set for `--client-cert-auth`.

```diff
-etcd --ca-file ca-client.crt
+etcd --trusted-ca-file ca-client.crt
Expand Down
1 change: 1 addition & 0 deletions content/en/docs/v3.6/op-guide/configuration.md
Expand Up @@ -140,6 +140,7 @@ The list of flags provided below may not be up-to-date due to ongoing developmen
Allowed TLS hostname for client cert authentication.
--trusted-ca-file ''
Path to the client server TLS trusted CA cert file.
Note setting this parameter will also automatically enable client cert authentication no matter what value is set for `--client-cert-auth`.
--auto-tls 'false'
Client TLS using generated certificates.
--peer-cert-file ''
Expand Down
2 changes: 2 additions & 0 deletions content/en/docs/v3.6/upgrades/upgrade_3_4.md
Expand Up @@ -56,6 +56,8 @@ Other HTTP APIs will still work (e.g. `[CLIENT-URL]/metrics`, `[CLIENT-URL]/heal

`--ca-file` and `--peer-ca-file` flags are deprecated; they have been deprecated since v2.1.

Note setting this parameter will also automatically enable client cert authentication no matter what value is set for `--client-cert-auth`.

```diff
-etcd --ca-file ca-client.crt
+etcd --trusted-ca-file ca-client.crt
Expand Down

0 comments on commit a412dd6

Please sign in to comment.