From fab47eb70f51a38d45a8fad62c96fbb273a4c9ce Mon Sep 17 00:00:00 2001 From: Andy Assareh Date: Fri, 17 Dec 2021 12:00:21 -0800 Subject: [PATCH] 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 --- command/tls/cert/tls_cert.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command/tls/cert/tls_cert.go b/command/tls/cert/tls_cert.go index c706f0c6fe..c15a39c2b3 100644 --- a/command/tls/cert/tls_cert.go +++ b/command/tls/cert/tls_cert.go @@ -40,7 +40,7 @@ Usage: consul tls cert [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