|
|
@@ -30,7 +30,7 @@ var ( |
|
|
|
validFrom = flag.String("start-date", "", "Creation date formatted as Jan 1 15:04:05 2011") |
|
|
|
validFor = flag.Duration("duration", 365*24*time.Hour, "Duration that certificate is valid for") |
|
|
|
isCA = flag.Bool("ca", false, "whether this cert should be its own Certificate Authority") |
|
|
|
rsaBits = flag.Int("rsa-bits", 1024, "Size of RSA key to generate") |
|
|
|
rsaBits = flag.Int("rsa-bits", 2048, "Size of RSA key to generate") |
|
|
|
) |
|
|
|
|
|
|
|
func main() { |
|
|
|