Commit e27fe54b authored by Loïck Bonniot's avatar Loïck Bonniot

[p] Change default ttp port during ttp command

parent 9cba231d
Pipeline #2194 passed with stage
...@@ -47,7 +47,7 @@ func init() { ...@@ -47,7 +47,7 @@ func init() {
ttpCmd.Flags().String("unit", "INSA Rennes", "organizational unit for the ttp certificate") ttpCmd.Flags().String("unit", "INSA Rennes", "organizational unit for the ttp certificate")
ttpCmd.Flags().IntP("key", "k", 2048, "encoding size for the private key of the ttp") ttpCmd.Flags().IntP("key", "k", 2048, "encoding size for the private key of the ttp")
ttpCmd.Flags().StringP("ttps", "t", "ttps", "file containing available TTPs list") ttpCmd.Flags().StringP("ttps", "t", "ttps", "file containing available TTPs list")
ttpCmd.Flags().StringP("addr", "a", "localhost:9098", "address of the ttp to be transmitted to signers") ttpCmd.Flags().StringP("addr", "a", "localhost:9020", "address of the ttp to be transmitted to signers")
startCmd.Flags().IntP("validity", "c", 365, "validity duration for the child certificates (days)") startCmd.Flags().IntP("validity", "c", 365, "validity duration for the child certificates (days)")
startCmd.Flags().StringP("address", "a", "0.0.0.0", "address to bind for listening") startCmd.Flags().StringP("address", "a", "0.0.0.0", "address to bind for listening")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment