From 5e1a324efe51ca31b422b597597c28ab06722dc8 Mon Sep 17 00:00:00 2001 From: Henry Barreto Date: Tue, 10 Dec 2024 13:53:43 -0300 Subject: [PATCH] fix(ssh): remove wildcard on certbot certificate generation --- gateway/certbot.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gateway/certbot.go b/gateway/certbot.go index 62a43ac7573..cf5785b4903 100644 --- a/gateway/certbot.go +++ b/gateway/certbot.go @@ -51,7 +51,7 @@ func (cb *CertBot) generateCertificate() { "--preferred-challenges", "http", "-n", "-d", - fmt.Sprintf("*.%s", cb.domain), + cb.domain, ) if cb.staging { cmd.Args = append(cmd.Args, "--staging")