examples/server: Increase certificate duration
This commit is contained in:
parent
e0ac1685d2
commit
24e488a4cb
|
@ -24,7 +24,7 @@ func main() {
|
||||||
CommonName: hostname,
|
CommonName: hostname,
|
||||||
},
|
},
|
||||||
DNSNames: []string{hostname},
|
DNSNames: []string{hostname},
|
||||||
Duration: time.Minute, // for testing purposes
|
Duration: 365 * 24 * time.Hour,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user