usage example given uses outdated arguments

the usage example shows incorrect arguments for ca cert and key. the correct arguments are now -ca and -key
This commit is contained in:
Andy Assareh 2021-12-17 12:00:21 -08:00 committed by assareh
parent e1d32b6a9f
commit 2182a6f0a3
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ Usage: consul tls cert <subcommand> [options] [filename-prefix]
Create a certificate with your own CA:
$ consul tls cert create -server -ca-file my-ca.pem -ca-key-file my-ca-key.pem
$ consul tls cert create -server -ca my-ca.pem -key my-ca-key.pem
==> saved dc1-server-consul.pem
==> saved dc1-server-consul-key.pem