Browse Source

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
pull/11884/head
Andy Assareh 3 years ago committed by assareh
parent
commit
fab47eb70f
  1. 2
      command/tls/cert/tls_cert.go

2
command/tls/cert/tls_cert.go

@ -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

Loading…
Cancel
Save