fix expiration for gemini cert
alex wennerberg alex@alexwennerberg.com
Sat, 31 Oct 2020 09:12:41 -0700
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
gemini.go
→
gemini.go
@@ -59,7 +59,7 @@ server.CreateCertificate = func(hostname string) (tls.Certificate, error) {
log.Println("Generating certificate for", hostname) cert, err := gmi.CreateCertificate(gmi.CertificateOptions{ DNSNames: []string{hostname}, - Duration: time.Minute, // for testing purposes + Duration: time.Minute * 43200, // one month }) if err == nil { // Write the new certificate to disk