Skip to content

Commit

Permalink
Merge pull request etcd-io#8893 from dahefanteng/fix-typo
Browse files Browse the repository at this point in the history
Documentation: change "key file" to "cert file"
  • Loading branch information
gyuho authored Nov 21, 2017
2 parents 8e4d1cb + a4c407e commit 15bfc1b
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Documentation/op-guide/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ The security flags help to [build a secure etcd cluster][security].
+ env variable: ETCD_CLIENT_CRL_FILE

### --trusted-ca-file
+ Path to the client server TLS trusted CA key file.
+ Path to the client server TLS trusted CA cert file.
+ default: ""
+ env variable: ETCD_TRUSTED_CA_FILE

Expand Down
2 changes: 1 addition & 1 deletion Documentation/v2/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ The security flags help to [build a secure etcd cluster][security].
+ env variable: ETCD_CLIENT_CERT_AUTH

### --trusted-ca-file
+ Path to the client server TLS trusted CA key file.
+ Path to the client server TLS trusted CA cert file.
+ default: none
+ env variable: ETCD_TRUSTED_CA_FILE

Expand Down
4 changes: 2 additions & 2 deletions etcd.conf.yml.sample
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ client-transport-security:
# Enable client cert authentication.
client-cert-auth: false

# Path to the client server TLS trusted CA key file.
# Path to the client server TLS trusted CA cert file.
trusted-ca-file:

# Client TLS using generated certificates
Expand All @@ -125,7 +125,7 @@ peer-transport-security:
# Enable peer client cert authentication.
peer-client-cert-auth: false

# Path to the peer server TLS trusted CA key file.
# Path to the peer server TLS trusted CA cert file.
trusted-ca-file:

# Peer TLS using generated certificates.
Expand Down
2 changes: 1 addition & 1 deletion etcdmain/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ func newConfig() *config {
fs.StringVar(&cfg.ec.ClientTLSInfo.KeyFile, "key-file", "", "Path to the client server TLS key file.")
fs.BoolVar(&cfg.ec.ClientTLSInfo.ClientCertAuth, "client-cert-auth", false, "Enable client cert authentication.")
fs.StringVar(&cfg.ec.ClientTLSInfo.CRLFile, "client-crl-file", "", "Path to the client certificate revocation list file.")
fs.StringVar(&cfg.ec.ClientTLSInfo.TrustedCAFile, "trusted-ca-file", "", "Path to the client server TLS trusted CA key file.")
fs.StringVar(&cfg.ec.ClientTLSInfo.TrustedCAFile, "trusted-ca-file", "", "Path to the client server TLS trusted CA cert file.")
fs.BoolVar(&cfg.ec.ClientAutoTLS, "auto-tls", false, "Client TLS using generated certificates")
fs.StringVar(&cfg.ec.PeerTLSInfo.CAFile, "peer-ca-file", "", "DEPRECATED: Path to the peer server TLS CA file.")
fs.StringVar(&cfg.ec.PeerTLSInfo.CertFile, "peer-cert-file", "", "Path to the peer server TLS cert file.")
Expand Down
2 changes: 1 addition & 1 deletion etcdmain/help.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ security flags:
--client-crl-file ''
path to the client certificate revocation list file.
--trusted-ca-file ''
path to the client server TLS trusted CA key file.
path to the client server TLS trusted CA cert file.
--auto-tls 'false'
client TLS using generated certificates.
--peer-ca-file '' [DEPRECATED]
Expand Down

0 comments on commit 15bfc1b

Please sign in to comment.