examples/server: Increase certificate duration

This commit is contained in:
Adnan Maolood 2020-11-27 17:54:26 -05:00
parent e0ac1685d2
commit 24e488a4cb

View File

@ -24,7 +24,7 @@ func main() {
CommonName: hostname,
},
DNSNames: []string{hostname},
Duration: time.Minute, // for testing purposes
Duration: 365 * 24 * time.Hour,
})
}