all repos — flounder @ 0a74125f126b64d045cf34c24463994dbbb4de94

A small site builder for the Gemini protocol

gemini fix maybe
alex wennerberg alex@alexwennerberg.com
Sat, 09 Jan 2021 18:04:10 -0800
commit

0a74125f126b64d045cf34c24463994dbbb4de94

parent

44cc1a7b899a44c84d0f2d87e95d46571c8c9abd

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M gemini.gogemini.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