From c892f90d37bf9203967fd5d765d09ff36b796bdb Mon Sep 17 00:00:00 2001 From: Chetan Sarva Date: Tue, 17 Oct 2023 10:24:15 -0400 Subject: [PATCH] fix: cert path requires a trailing slash --- cert.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cert.go b/cert.go index 13f60f6..dda9398 100644 --- a/cert.go +++ b/cert.go @@ -57,7 +57,7 @@ func CertPath() string { // MakeCert for the give hostname, if it doesn't already exist. func MakeCert(host string) (certFile string, keyFile string, err error) { - cp := CertPath() + cp := CertPath() + string(filepath.Separator) err = os.MkdirAll(cp, 0755) if err != nil { return "", "", err