diff options
| author | Adnan Maolood <[email protected]> | 2020-11-27 17:54:26 -0500 |
|---|---|---|
| committer | Adnan Maolood <[email protected]> | 2020-11-27 17:54:26 -0500 |
| commit | 24e488a4cbf30e3f41d757ddfd834af6560c59cf (patch) | |
| tree | b7577e8515b1cb0054443557f491844bf5dfd71a /examples | |
| parent | Fix server name in TLS connections (diff) | |
| download | go-gemini-24e488a4cbf30e3f41d757ddfd834af6560c59cf.tar.xz go-gemini-24e488a4cbf30e3f41d757ddfd834af6560c59cf.zip | |
examples/server: Increase certificate duration
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/server.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/server.go b/examples/server.go index 0328f66..c0bd1a7 100644 --- a/examples/server.go +++ b/examples/server.go @@ -24,7 +24,7 @@ func main() { CommonName: hostname, }, DNSNames: []string{hostname}, - Duration: time.Minute, // for testing purposes + Duration: 365 * 24 * time.Hour, }) } |