summaryrefslogtreecommitdiffstats
path: root/cmd/web_letsencrypt.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/web_letsencrypt.go')
-rw-r--r--cmd/web_letsencrypt.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/web_letsencrypt.go b/cmd/web_letsencrypt.go
index 7754393729..387aacce2c 100644
--- a/cmd/web_letsencrypt.go
+++ b/cmd/web_letsencrypt.go
@@ -32,7 +32,7 @@ func runLetsEncrypt(listenAddr, domain, directory, email string, m http.Handler)
DisableTLSALPNChallenge: !enableTLSALPNChallenge,
})
- magic.Issuer = myACME
+ magic.Issuers = []certmagic.Issuer{myACME}
// this obtains certificates or renews them if necessary
err := magic.ManageSync([]string{domain})