gemini fix maybe
alex wennerberg alex@alexwennerberg.com
Sat, 09 Jan 2021 18:04:10 -0800
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
gemini.go
→
gemini.go
@@ -136,7 +136,7 @@ server.CreateCertificate = func(h string) (tls.Certificate, error) {
log.Println("Generating certificate for", h) return gmi.CreateCertificate(gmi.CertificateOptions{ Subject: pkix.Name{ - CommonName: hostname, + CommonName: h, }, DNSNames: []string{h}, Duration: time.Hour * 8760 * 100, // 100 years