mirror of https://github.com/status-im/consul.git
Fix typo that prevented using the default ca domain for tls cert creation (#5258)
This commit is contained in:
parent
ec712b7ecf
commit
1f2d1d4f75
|
@ -38,7 +38,7 @@ type cmd struct {
|
||||||
|
|
||||||
func (c *cmd) init() {
|
func (c *cmd) init() {
|
||||||
c.flags = flag.NewFlagSet("", flag.ContinueOnError)
|
c.flags = flag.NewFlagSet("", flag.ContinueOnError)
|
||||||
c.flags.StringVar(&c.ca, "ca", "#DOMAINa#-agent-ca.pem", "Provide path to the ca. Defaults to #DOMAIN#-agent-ca.pem.")
|
c.flags.StringVar(&c.ca, "ca", "#DOMAIN#-agent-ca.pem", "Provide path to the ca. Defaults to #DOMAIN#-agent-ca.pem.")
|
||||||
c.flags.StringVar(&c.key, "key", "#DOMAIN#-agent-ca-key.pem", "Provide path to the key. Defaults to #DOMAIN#-agent-ca-key.pem.")
|
c.flags.StringVar(&c.key, "key", "#DOMAIN#-agent-ca-key.pem", "Provide path to the key. Defaults to #DOMAIN#-agent-ca-key.pem.")
|
||||||
c.flags.BoolVar(&c.server, "server", false, "Generate server certificate.")
|
c.flags.BoolVar(&c.server, "server", false, "Generate server certificate.")
|
||||||
c.flags.BoolVar(&c.client, "client", false, "Generate client certificate.")
|
c.flags.BoolVar(&c.client, "client", false, "Generate client certificate.")
|
||||||
|
|
Loading…
Reference in New Issue