1
0
mirror of https://tildegit.org/solderpunk/gemcert synced 2024-11-23 00:32:08 +01:00

Change default value of client certificate CN to "gemini".

This commit is contained in:
Solderpunk 2020-07-15 18:23:28 +03:00
parent b6fe00dccd
commit b4c0224c37

@ -35,7 +35,7 @@ func main() {
flag.BoolVar(&server, "server", false, "generate a server certificate.")
flag.BoolVar(&ed25519, "ed25519", false, "use ed25519 instead of ECDSA.")
flag.StringVar(&domain, "domain", "example.com", "server domain.")
flag.StringVar(&cn, "cn", "cn", "client certificate CN.")
flag.StringVar(&cn, "cn", "gemini", "client certificate CN.")
flag.IntVar(&years, "years", 0, "years of validity.")
flag.IntVar(&months, "months", 0, "months of validity.")
flag.IntVar(&days, "days", 0, "days of validity.")