|
|
@ -25,10 +25,10 @@ import ( |
|
|
|
"github.com/urfave/cli" |
|
|
|
"github.com/urfave/cli" |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
var CmdCert = cli.Command{ |
|
|
|
var Cert = cli.Command{ |
|
|
|
Name: "cert", |
|
|
|
Name: "cert", |
|
|
|
Usage: "Generate self-signed certificate", |
|
|
|
Usage: "Generate self-signed certificate", |
|
|
|
Description: `Generate a self-signed X.509 certificate for a TLS server.
|
|
|
|
Description: `Generate a self-signed X.509 certificate for a TLS server. |
|
|
|
Outputs to 'cert.pem' and 'key.pem' and will overwrite existing files.`, |
|
|
|
Outputs to 'cert.pem' and 'key.pem' and will overwrite existing files.`, |
|
|
|
Action: runCert, |
|
|
|
Action: runCert, |
|
|
|
Flags: []cli.Flag{ |
|
|
|
Flags: []cli.Flag{ |
|
|
|