From c0cf2abdd7609ae9d3e5c029e4421bc7c62e05b1 Mon Sep 17 00:00:00 2001 From: Justin Reichardt Date: Mon, 6 Mar 2023 19:20:48 -0600 Subject: [PATCH] Correctly finds certificate Had a + instead of a , to seperate arguments in the Join function So it would never find the crt --- src/serve/certutils/certutils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/serve/certutils/certutils.go b/src/serve/certutils/certutils.go index f8335b1..fa281d9 100644 --- a/src/serve/certutils/certutils.go +++ b/src/serve/certutils/certutils.go @@ -97,7 +97,7 @@ func (ca CA) Initialize() (CA, error) { func fillFromFile(ca CA) (CA, error) { var err error - file := path.Join(ca.Location + ca.Name) + file := path.Join(ca.Location , ca.Name) _, err = os.Stat(file + ".crt") if err != nil { return ca, err