From 2aa4d9534ef99b19d1ee11022eec489e2ed81186 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Steenis Date: Sun, 16 May 2021 19:15:14 +0200 Subject: [PATCH] Change cert filename to lowercase --- pki/util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pki/util.go b/pki/util.go index d1daf853..47f3d2ba 100644 --- a/pki/util.go +++ b/pki/util.go @@ -259,7 +259,7 @@ func GetCrtNameForHost(host *hosts.Host, prefix string) string { } else { newAddress = strings.Replace(host.Address, ".", "-", -1) } - return prefix + "-" + newAddress + return prefix + "-" + strings.ToLower(newAddress) } func GetCertPath(name string) string {