Add gen-nginx for the read path
This commit is contained in:
@@ -56,6 +56,8 @@ func main() {
|
||||
generateEnv(*configFile)
|
||||
case "gen-key":
|
||||
generateKeys(*configFile)
|
||||
case "gen-nginx":
|
||||
generateNginx(*configFile)
|
||||
case "gen-roots":
|
||||
generateRoots(args[1:])
|
||||
default:
|
||||
@@ -103,6 +105,8 @@ func showHelp() {
|
||||
fmt.Printf(" Combines global roots and log-specific extraroots into roots.pem.\n\n")
|
||||
fmt.Printf(" gen-key Generate prime256v1 private keys for each log (only if they don't exist).\n")
|
||||
fmt.Printf(" Creates EC private key files at the path specified in log.secret.\n\n")
|
||||
fmt.Printf(" gen-nginx Generate nginx configuration files for each log's monitoring endpoint.\n")
|
||||
fmt.Printf(" Creates nginx-<hostname>.conf files in each log's localdirectory.\n\n")
|
||||
fmt.Printf(" gen-roots Download root certificates from a Certificate Transparency log.\n")
|
||||
fmt.Printf(" Options: --source <url> (default: https://rennet2027h2.log.ct.ipng.ch/)\n")
|
||||
fmt.Printf(" --output <file> (default: roots.pem)\n\n")
|
||||
|
Reference in New Issue
Block a user